File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
homeassistant/components/wiz Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ async def _async_discovery(*_: Any) -> None:
6363 return True
6464
6565
66- async def _async_update_listener (hass : HomeAssistant , entry : ConfigEntry ) -> None :
66+ async def _async_update_listener (hass : HomeAssistant , entry : WizConfigEntry ) -> None :
6767 """Handle options update."""
6868 await hass .config_entries .async_reload (entry .entry_id )
6969
7070
71- async def async_setup_entry (hass : HomeAssistant , entry : ConfigEntry ) -> bool :
71+ async def async_setup_entry (hass : HomeAssistant , entry : WizConfigEntry ) -> bool :
7272 """Set up the wiz integration from a config entry."""
7373 ip_address = entry .data [CONF_HOST ]
7474 _LOGGER .debug ("Get bulb with IP: %s" , ip_address )
@@ -145,7 +145,7 @@ def _async_push_update(state: PilotParser) -> None:
145145 return True
146146
147147
148- async def async_unload_entry (hass : HomeAssistant , entry : ConfigEntry ) -> bool :
148+ async def async_unload_entry (hass : HomeAssistant , entry : WizConfigEntry ) -> bool :
149149 """Unload a config entry."""
150150 if unload_ok := await hass .config_entries .async_unload_platforms (entry , PLATFORMS ):
151151 await entry .runtime_data .bulb .async_close ()
You can’t perform that action at this time.
0 commit comments