Remove useless warning, bump version

This commit is contained in:
Andre Basche 2023-05-07 13:53:05 +02:00
parent dae8b48075
commit 0e9bd97c7b
4 changed files with 1 additions and 11 deletions

View File

@ -223,9 +223,6 @@ async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> Non
if descriptions := BINARY_SENSORS.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
)
continue
appliances.extend(
[

View File

@ -7,5 +7,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Andre0512/hon/issues",
"requirements": ["pyhOn==0.10.3"],
"version": "0.7.0-beta.8"
"version": "0.7.0"
}

View File

@ -520,9 +520,6 @@ async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> Non
if not device.get(description.key) and not device.settings.get(
description.key
):
_LOGGER.warning(
"[%s] Can't setup %s", device.appliance_type, description.key
)
continue
appliances.extend(
[HonSensorEntity(hass, coordinator, entry, device, description)]

View File

@ -318,10 +318,6 @@ async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> Non
appliances.extend(
[HonSwitchEntity(hass, coordinator, entry, device, description)]
)
else:
_LOGGER.warning(
"[%s] Can't setup %s", device.appliance_type, description.key
)
async_add_entities(appliances)