diff --git a/custom_components/panasonic_smart_app/switch.py b/custom_components/panasonic_smart_app/switch.py index a4d8fa4..882253f 100644 --- a/custom_components/panasonic_smart_app/switch.py +++ b/custom_components/panasonic_smart_app/switch.py @@ -266,7 +266,7 @@ def device_class(self) -> str: @property def is_on(self) -> int: status = self.coordinator.data[self.index]["status"] - _turbo_status = status.get("0x1a", None) + _turbo_status = status.get("0x1A", None) if _turbo_status == None: return STATE_UNAVAILABLE _is_on = bool(int(_turbo_status))