StateMachine.set_state now optimized for setting existing states
light.turn_on/turn_off/is_on use entity_id instead of object_id