mirror of
https://github.com/Andre0512/hon.git
synced 2026-05-07 09:54:41 +02:00
Fix errors, bump pyhon
This commit is contained in:
@@ -271,7 +271,7 @@ async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> Non
|
||||
for description in descriptions:
|
||||
if (
|
||||
device.get(description.key) is not None
|
||||
or device.commands.get(description.key) is not None
|
||||
or description.key in device.available_settings
|
||||
):
|
||||
appliances.extend(
|
||||
[HonSwitchEntity(hass, coordinator, entry, device, description)]
|
||||
|
||||
Reference in New Issue
Block a user