From 5a408d408393d600d3389a9246040e0e463f8986 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Sun, 10 Apr 2022 07:40:48 +0200 Subject: [PATCH] Fix Netgear switch state update (#69597) --- homeassistant/components/netgear/switch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/netgear/switch.py b/homeassistant/components/netgear/switch.py index cf8cd835f89668..b38179ccb2a05c 100644 --- a/homeassistant/components/netgear/switch.py +++ b/homeassistant/components/netgear/switch.py @@ -90,10 +90,12 @@ def is_on(self): async def async_turn_on(self, **kwargs): """Turn the switch on.""" await self._router.async_allow_block_device(self._mac, ALLOW) + await self.coordinator.async_request_refresh() async def async_turn_off(self, **kwargs): """Turn the switch off.""" await self._router.async_allow_block_device(self._mac, BLOCK) + await self.coordinator.async_request_refresh() @callback def async_update_device(self) -> None: