Create change_state_sensors.php