Update black to 23.1.0 (#87188)
This commit is contained in:
parent
f7666239ff
commit
5e81d28116
312 changed files with 299 additions and 475 deletions
|
@ -98,7 +98,6 @@ CHIME_BUTTONS: tuple[ProtectButtonEntityDescription, ...] = (
|
|||
def _async_remove_adopt_button(
|
||||
hass: HomeAssistant, device: ProtectAdoptableDeviceModel
|
||||
) -> None:
|
||||
|
||||
entity_registry = er.async_get(hass)
|
||||
if entity_id := entity_registry.async_get_entity_id(
|
||||
Platform.BUTTON, DOMAIN, f"{device.mac}_adopt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue