support more alarm panels (#50235)

This commit is contained in:
David F. Mulcahey 2021-05-07 08:31:16 -04:00 committed by GitHub
parent 17fc962a87
commit 55050bdd2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View file

@ -61,7 +61,7 @@ from .core.const import (
)
from .core.group import GroupMember
from .core.helpers import (
async_input_cluster_exists,
async_cluster_exists,
async_is_bindable_target,
convert_install_code,
get_matched_clusters,
@ -897,7 +897,7 @@ async def websocket_get_configuration(hass, connection, msg):
data = {"schemas": {}, "data": {}}
for section, schema in ZHA_CONFIG_SCHEMAS.items():
if section == ZHA_ALARM_OPTIONS and not async_input_cluster_exists(
if section == ZHA_ALARM_OPTIONS and not async_cluster_exists(
hass, IasAce.cluster_id
):
continue