Remove useless warning, bump version
This commit is contained in:
parent
dae8b48075
commit
0e9bd97c7b
@ -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(
|
||||
[
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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)]
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user