ha(ux): пробинг отдаёт fatal-reason (одна сессия на недоступном модуле); SWITCH_PROPS без битов
This commit is contained in:
@@ -40,7 +40,7 @@ async def async_setup_entry(hass, entry, async_add_entities) -> None:
|
||||
template = runtime.client.template
|
||||
|
||||
entities = []
|
||||
for prop, (key, _capability) in SWITCH_PROPS.items():
|
||||
for prop, key in SWITCH_PROPS.items():
|
||||
if prop_info(template, prop) is None:
|
||||
continue
|
||||
if not coordinator.features.enabled(key):
|
||||
|
||||
Reference in New Issue
Block a user