inertechno added triggers and switch actions