mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
Fix typo in enphase doc string (#74155)
This commit is contained in:
parent
629c68221e
commit
309cf030b0
@ -102,7 +102,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
async def async_remove_config_entry_device(
|
async def async_remove_config_entry_device(
|
||||||
hass: HomeAssistant, config_entry: ConfigEntry, device_entry: dr.DeviceEntry
|
hass: HomeAssistant, config_entry: ConfigEntry, device_entry: dr.DeviceEntry
|
||||||
) -> bool:
|
) -> bool:
|
||||||
"""Remove a enphase_envoy config entry from a device."""
|
"""Remove an enphase_envoy config entry from a device."""
|
||||||
dev_ids = {dev_id[1] for dev_id in device_entry.identifiers if dev_id[0] == DOMAIN}
|
dev_ids = {dev_id[1] for dev_id in device_entry.identifiers if dev_id[0] == DOMAIN}
|
||||||
data: dict = hass.data[DOMAIN][config_entry.entry_id]
|
data: dict = hass.data[DOMAIN][config_entry.entry_id]
|
||||||
coordinator: DataUpdateCoordinator = data[COORDINATOR]
|
coordinator: DataUpdateCoordinator = data[COORDINATOR]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user