diff --git a/custom_components/apex/switch.py b/custom_components/apex/switch.py index d8db9c3..72341c9 100644 --- a/custom_components/apex/switch.py +++ b/custom_components/apex/switch.py @@ -51,7 +51,7 @@ async def async_turn_on(self, **kwargs): "ON" ) if update == True: - self._state = False + self._state = True self.async_write_ha_state()