From 71c6f99d3134df127c0d404106032980fcb6fc24 Mon Sep 17 00:00:00 2001 From: uvjustin <46082645+uvjustin@users.noreply.github.com> Date: Tue, 31 Aug 2021 23:30:05 +0800 Subject: [PATCH] Fix ArestSwitchBase missing is on attribute (#55483) --- homeassistant/components/arest/switch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/arest/switch.py b/homeassistant/components/arest/switch.py index d20eb7a5f8d..ecbf24c23ca 100644 --- a/homeassistant/components/arest/switch.py +++ b/homeassistant/components/arest/switch.py @@ -88,6 +88,7 @@ class ArestSwitchBase(SwitchEntity): self._resource = resource self._attr_name = f"{location.title()} {name.title()}" self._attr_available = True + self._attr_is_on = False class ArestSwitchFunction(ArestSwitchBase):