Bump to v0.4.0

This commit is contained in:
Andre Basche 2023-04-08 06:15:33 +02:00
parent c78aeb1fbb
commit e1a2af70e9
6 changed files with 23 additions and 34 deletions

View file

@ -92,8 +92,7 @@ async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> Non
if descriptions := SELECTS.get(device.appliance_type):
for description in descriptions:
if not device.get(description.key):
_LOGGER.warning("[%s] Can't setup %s", device.appliance_type, description.key)
if not device.settings.get(description.key):
continue
appliances.extend([
HonSelectEntity(hass, coordinator, entry, device, description)]