mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-15 07:34:23 -04:00
Bump to v0.4.0
This commit is contained in:
parent
c78aeb1fbb
commit
e1a2af70e9
6 changed files with 23 additions and 34 deletions
|
@ -124,6 +124,8 @@ async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> Non
|
|||
|
||||
if descriptions := NUMBERS.get(device.appliance_type):
|
||||
for description in descriptions:
|
||||
if not device.settings.get(description.key):
|
||||
continue
|
||||
appliances.extend([
|
||||
HonNumberEntity(hass, coordinator, entry, device, description)]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue