diff --git a/homeassistant/components/zha/core/cluster_handlers/__init__.py b/homeassistant/components/zha/core/cluster_handlers/__init__.py index 4fe58e409e8..b3ec6b828ee 100644 --- a/homeassistant/components/zha/core/cluster_handlers/__init__.py +++ b/homeassistant/components/zha/core/cluster_handlers/__init__.py @@ -130,17 +130,19 @@ class ClusterHandler(LogMixin): unique_id = endpoint.unique_id.replace("-", ":") self._unique_id = f"{unique_id}:0x{cluster.cluster_id:04x}" if not hasattr(self, "_value_attribute") and self.REPORT_CONFIG: - attr_def: ZCLAttributeDef | None = self.cluster.attributes_by_name.get( + attr_def: ZCLAttributeDef = self.cluster.attributes_by_name[ self.REPORT_CONFIG[0]["attr"] - ) - if attr_def is not None: - self.value_attribute = attr_def.id - else: - self.value_attribute = None + ] + self.value_attribute = attr_def.id self._status = ClusterHandlerStatus.CREATED self._cluster.add_listener(self) self.data_cache: dict[str, Enum] = {} + @classmethod + def matches(cls, cluster: zigpy.zcl.Cluster, endpoint: Endpoint) -> bool: + """Filter the cluster match for specific devices.""" + return True + @property def id(self) -> str: """Return cluster handler id unique for this device only.""" @@ -203,7 +205,10 @@ class ClusterHandler(LogMixin): ) except (zigpy.exceptions.ZigbeeException, asyncio.TimeoutError) as ex: self.debug( - "Failed to bind '%s' cluster: %s", self.cluster.ep_attribute, str(ex) + "Failed to bind '%s' cluster: %s", + self.cluster.ep_attribute, + str(ex), + exc_info=ex, ) async_dispatcher_send( self._endpoint.device.hass, diff --git a/homeassistant/components/zha/core/cluster_handlers/general.py b/homeassistant/components/zha/core/cluster_handlers/general.py index ebd2f9f1d81..12b1f636866 100644 --- a/homeassistant/components/zha/core/cluster_handlers/general.py +++ b/homeassistant/components/zha/core/cluster_handlers/general.py @@ -534,7 +534,7 @@ class PollControl(ClusterHandler): @registries.ZIGBEE_CLUSTER_HANDLER_REGISTRY.register( general.PowerConfiguration.cluster_id ) -class PowerConfigurationCLusterHandler(ClusterHandler): +class PowerConfigurationClusterHandler(ClusterHandler): """Cluster handler for the zigbee power configuration cluster.""" REPORT_CONFIG = ( diff --git a/homeassistant/components/zha/core/cluster_handlers/manufacturerspecific.py b/homeassistant/components/zha/core/cluster_handlers/manufacturerspecific.py index e4d91a82fe8..d20888e1f55 100644 --- a/homeassistant/components/zha/core/cluster_handlers/manufacturerspecific.py +++ b/homeassistant/components/zha/core/cluster_handlers/manufacturerspecific.py @@ -188,6 +188,15 @@ class SmartThingsAcceleration(ClusterHandler): AttrReportConfig(attr="z_axis", config=REPORT_CONFIG_ASAP), ) + @classmethod + def matches(cls, cluster: zigpy.zcl.Cluster, endpoint: Endpoint) -> bool: + """Filter the cluster match for specific devices.""" + return cluster.endpoint.device.manufacturer in ( + "CentraLite", + "Samjin", + "SmartThings", + ) + @callback def attribute_updated(self, attrid, value): """Handle attribute updates on this cluster.""" diff --git a/homeassistant/components/zha/core/endpoint.py b/homeassistant/components/zha/core/endpoint.py index 713c06fe45f..c0a727414b6 100644 --- a/homeassistant/components/zha/core/endpoint.py +++ b/homeassistant/components/zha/core/endpoint.py @@ -118,6 +118,11 @@ class Endpoint: cluster_handler_class = registries.ZIGBEE_CLUSTER_HANDLER_REGISTRY.get( cluster_id, ClusterHandler ) + + # Allow cluster handler to filter out bad matches + if not cluster_handler_class.matches(cluster, self): + cluster_handler_class = ClusterHandler + _LOGGER.info( "Creating cluster handler for cluster id: %s class: %s", cluster_id, diff --git a/homeassistant/components/zha/core/helpers.py b/homeassistant/components/zha/core/helpers.py index a86700fdfeb..ac7c15d3ecd 100644 --- a/homeassistant/components/zha/core/helpers.py +++ b/homeassistant/components/zha/core/helpers.py @@ -309,19 +309,19 @@ class LogMixin: def debug(self, msg, *args, **kwargs): """Debug level log.""" - return self.log(logging.DEBUG, msg, *args) + return self.log(logging.DEBUG, msg, *args, **kwargs) def info(self, msg, *args, **kwargs): """Info level log.""" - return self.log(logging.INFO, msg, *args) + return self.log(logging.INFO, msg, *args, **kwargs) def warning(self, msg, *args, **kwargs): """Warning method log.""" - return self.log(logging.WARNING, msg, *args) + return self.log(logging.WARNING, msg, *args, **kwargs) def error(self, msg, *args, **kwargs): """Error level log.""" - return self.log(logging.ERROR, msg, *args) + return self.log(logging.ERROR, msg, *args, **kwargs) def retryable_req( diff --git a/tests/components/zha/conftest.py b/tests/components/zha/conftest.py index 84b7b152da9..d734ec22fad 100644 --- a/tests/components/zha/conftest.py +++ b/tests/components/zha/conftest.py @@ -2,7 +2,7 @@ from collections.abc import Callable import itertools import time -from unittest.mock import AsyncMock, MagicMock, PropertyMock, patch +from unittest.mock import AsyncMock, MagicMock, patch import pytest import zigpy @@ -13,7 +13,7 @@ from zigpy.const import SIG_EP_INPUT, SIG_EP_OUTPUT, SIG_EP_PROFILE, SIG_EP_TYPE import zigpy.device import zigpy.group import zigpy.profiles -from zigpy.state import State +import zigpy.quirks import zigpy.types import zigpy.zdo.types as zdo_t @@ -44,31 +44,80 @@ def globally_load_quirks(): zhaquirks.setup() +class _FakeApp(ControllerApplication): + async def add_endpoint(self, descriptor: zdo_t.SimpleDescriptor): + pass + + async def connect(self): + pass + + async def disconnect(self): + pass + + async def force_remove(self, dev: zigpy.device.Device): + pass + + async def load_network_info(self, *, load_devices: bool = False): + pass + + async def permit_ncp(self, time_s: int = 60): + pass + + async def permit_with_key( + self, node: zigpy.types.EUI64, code: bytes, time_s: int = 60 + ): + pass + + async def reset_network_info(self): + pass + + async def send_packet(self, packet: zigpy.types.ZigbeePacket): + pass + + async def start_network(self): + pass + + async def write_network_info(self): + pass + + async def request( + self, + device: zigpy.device.Device, + profile: zigpy.types.uint16_t, + cluster: zigpy.types.uint16_t, + src_ep: zigpy.types.uint8_t, + dst_ep: zigpy.types.uint8_t, + sequence: zigpy.types.uint8_t, + data: bytes, + *, + expect_reply: bool = True, + use_ieee: bool = False, + extended_timeout: bool = False, + ): + pass + + @pytest.fixture def zigpy_app_controller(): """Zigpy ApplicationController fixture.""" - app = MagicMock(spec_set=ControllerApplication) - app.startup = AsyncMock() - app.shutdown = AsyncMock() - groups = zigpy.group.Groups(app) - groups.add_group(FIXTURE_GRP_ID, FIXTURE_GRP_NAME, suppress_event=True) - app.configure_mock(groups=groups) - type(app).ieee = PropertyMock() - app.ieee.return_value = zigpy.types.EUI64.convert("00:15:8d:00:02:32:4f:32") - type(app).nwk = PropertyMock(return_value=zigpy.types.NWK(0x0000)) - type(app).devices = PropertyMock(return_value={}) - type(app).backups = zigpy.backups.BackupManager(app) - type(app).topology = zigpy.topology.Topology(app) + app = _FakeApp( + { + zigpy.config.CONF_DATABASE: None, + zigpy.config.CONF_DEVICE: {zigpy.config.CONF_DEVICE_PATH: "/dev/null"}, + } + ) - state = State() - state.node_info.ieee = app.ieee.return_value - state.network_info.extended_pan_id = app.ieee.return_value - state.network_info.pan_id = 0x1234 - state.network_info.channel = 15 - state.network_info.network_key.key = zigpy.types.KeyData(range(16)) - type(app).state = PropertyMock(return_value=state) + app.groups.add_group(FIXTURE_GRP_ID, FIXTURE_GRP_NAME, suppress_event=True) - return app + app.state.node_info.nwk = 0x0000 + app.state.node_info.ieee = zigpy.types.EUI64.convert("00:15:8d:00:02:32:4f:32") + app.state.network_info.pan_id = 0x1234 + app.state.network_info.extended_pan_id = app.state.node_info.ieee + app.state.network_info.channel = 15 + app.state.network_info.network_key.key = zigpy.types.KeyData(range(16)) + + with patch("zigpy.device.Device.request"): + yield app @pytest.fixture(name="config_entry") @@ -164,7 +213,7 @@ def zigpy_device_mock(zigpy_app_controller): endpoint = device.add_endpoint(epid) endpoint.device_type = ep[SIG_EP_TYPE] endpoint.profile_id = ep.get(SIG_EP_PROFILE, 0x0104) - endpoint.request = AsyncMock(return_value=[0]) + endpoint.request = AsyncMock() for cluster_id in ep.get(SIG_EP_INPUT, []): endpoint.add_input_cluster(cluster_id) @@ -176,6 +225,9 @@ def zigpy_device_mock(zigpy_app_controller): if quirk: device = quirk(zigpy_app_controller, device.ieee, device.nwk, device) + else: + # Allow zigpy to apply quirks if we don't pass one explicitly + device = zigpy.quirks.get_device(device) if patch_cluster: for endpoint in (ep for epid, ep in device.endpoints.items() if epid): diff --git a/tests/components/zha/test_api.py b/tests/components/zha/test_api.py index 59daf2179b6..b75a65ed5b6 100644 --- a/tests/components/zha/test_api.py +++ b/tests/components/zha/test_api.py @@ -44,12 +44,17 @@ async def test_async_get_network_settings_inactive( with patch( "bellows.zigbee.application.ControllerApplication.__new__", return_value=zigpy_app_controller, - ): + ), patch.object( + zigpy_app_controller, "_load_db", wraps=zigpy_app_controller._load_db + ) as mock_load_db, patch.object( + zigpy_app_controller, + "start_network", + wraps=zigpy_app_controller.start_network, + ) as mock_start_network: settings = await api.async_get_network_settings(hass) - assert len(zigpy_app_controller._load_db.mock_calls) == 1 - assert len(zigpy_app_controller.start_network.mock_calls) == 0 - + assert len(mock_load_db.mock_calls) == 1 + assert len(mock_start_network.mock_calls) == 0 assert settings.network_info.channel == 20 diff --git a/tests/components/zha/test_discover.py b/tests/components/zha/test_discover.py index ab688b50e17..d00199f0851 100644 --- a/tests/components/zha/test_discover.py +++ b/tests/components/zha/test_discover.py @@ -111,23 +111,30 @@ async def test_devices( Endpoint.async_new_entity = orig_new_entity if cluster_identify: - called = int(zha_device_joined_restored.name == "zha_device_joined") - assert cluster_identify.request.call_count == called - assert cluster_identify.request.await_count == called - if called: - assert cluster_identify.request.call_args == mock.call( - False, - cluster_identify.commands_by_name["trigger_effect"].id, - cluster_identify.commands_by_name["trigger_effect"].schema, - effect_id=zigpy.zcl.clusters.general.Identify.EffectIdentifier.Okay, - effect_variant=( - zigpy.zcl.clusters.general.Identify.EffectVariant.Default - ), - expect_reply=True, - manufacturer=None, - tries=1, - tsn=None, - ) + # We only identify on join + should_identify = ( + zha_device_joined_restored.name == "zha_device_joined" + and not zigpy_device.skip_configuration + ) + + if should_identify: + assert cluster_identify.request.mock_calls == [ + mock.call( + False, + cluster_identify.commands_by_name["trigger_effect"].id, + cluster_identify.commands_by_name["trigger_effect"].schema, + effect_id=zigpy.zcl.clusters.general.Identify.EffectIdentifier.Okay, + effect_variant=( + zigpy.zcl.clusters.general.Identify.EffectVariant.Default + ), + expect_reply=True, + manufacturer=None, + tries=1, + tsn=None, + ) + ] + else: + assert cluster_identify.request.mock_calls == [] event_cluster_handlers = { ch.id diff --git a/tests/components/zha/zha_devices_list.py b/tests/components/zha/zha_devices_list.py index 0f73868b9d7..bc2de4f852c 100644 --- a/tests/components/zha/zha_devices_list.py +++ b/tests/components/zha/zha_devices_list.py @@ -13,7 +13,6 @@ from zigpy.const import ( DEV_SIG_CLUSTER_HANDLERS = "cluster_handlers" DEV_SIG_DEV_NO = "device_no" -DEV_SIG_ENTITIES = "entities" DEV_SIG_ENT_MAP = "entity_map" DEV_SIG_ENT_MAP_CLASS = "entity_class" DEV_SIG_ENT_MAP_ID = "entity_id" @@ -37,11 +36,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008"], - DEV_SIG_ENTITIES: [ - "button.adurolight_adurolight_ncc_identify", - "sensor.adurolight_adurolight_ncc_rssi", - "sensor.adurolight_adurolight_ncc_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -75,14 +69,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["5:0x0019"], - DEV_SIG_ENTITIES: [ - "button.bosch_isw_zpr1_wp13_identify", - "sensor.bosch_isw_zpr1_wp13_battery", - "sensor.bosch_isw_zpr1_wp13_temperature", - "binary_sensor.bosch_isw_zpr1_wp13_iaszone", - "sensor.bosch_isw_zpr1_wp13_rssi", - "sensor.bosch_isw_zpr1_wp13_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-5-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -131,12 +117,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_3130_identify", - "sensor.centralite_3130_battery", - "sensor.centralite_3130_rssi", - "sensor.centralite_3130_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -175,20 +155,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_3210_l_identify", - "sensor.centralite_3210_l_active_power", - "sensor.centralite_3210_l_apparent_power", - "sensor.centralite_3210_l_rms_current", - "sensor.centralite_3210_l_rms_voltage", - "sensor.centralite_3210_l_ac_frequency", - "sensor.centralite_3210_l_power_factor", - "sensor.centralite_3210_l_instantaneous_demand", - "sensor.centralite_3210_l_summation_delivered", - "switch.centralite_3210_l_switch", - "sensor.centralite_3210_l_rssi", - "sensor.centralite_3210_l_lqi", - ], DEV_SIG_ENT_MAP: { ("switch", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -267,14 +233,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_3310_s_identify", - "sensor.centralite_3310_s_battery", - "sensor.centralite_3310_s_temperature", - "sensor.centralite_3310_s_humidity", - "sensor.centralite_3310_s_rssi", - "sensor.centralite_3310_s_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -302,7 +260,7 @@ DEVICES = [ DEV_SIG_ENT_MAP_ID: "sensor.centralite_3310_s_lqi", }, ("sensor", "00:11:22:33:44:55:66:77-1-64581"): { - DEV_SIG_CLUSTER_HANDLERS: ["manufacturer_specific"], + DEV_SIG_CLUSTER_HANDLERS: ["humidity"], DEV_SIG_ENT_MAP_CLASS: "Humidity", DEV_SIG_ENT_MAP_ID: "sensor.centralite_3310_s_humidity", }, @@ -330,14 +288,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_3315_s_identify", - "sensor.centralite_3315_s_battery", - "sensor.centralite_3315_s_temperature", - "binary_sensor.centralite_3315_s_iaszone", - "sensor.centralite_3315_s_rssi", - "sensor.centralite_3315_s_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -393,14 +343,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_3320_l_identify", - "sensor.centralite_3320_l_battery", - "sensor.centralite_3320_l_temperature", - "binary_sensor.centralite_3320_l_iaszone", - "sensor.centralite_3320_l_rssi", - "sensor.centralite_3320_l_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -456,14 +398,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_3326_l_identify", - "sensor.centralite_3326_l_battery", - "sensor.centralite_3326_l_temperature", - "binary_sensor.centralite_3326_l_iaszone", - "sensor.centralite_3326_l_rssi", - "sensor.centralite_3326_l_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -519,15 +453,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.centralite_motion_sensor_a_identify", - "sensor.centralite_motion_sensor_a_battery", - "sensor.centralite_motion_sensor_a_temperature", - "binary_sensor.centralite_motion_sensor_a_iaszone", - "binary_sensor.centralite_motion_sensor_a_occupancy", - "sensor.centralite_motion_sensor_a_rssi", - "sensor.centralite_motion_sensor_a_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -590,14 +515,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["4:0x0019"], - DEV_SIG_ENTITIES: [ - "button.climaxtechnology_psmp5_00_00_02_02tc_identify", - "sensor.climaxtechnology_psmp5_00_00_02_02tc_instantaneous_demand", - "sensor.climaxtechnology_psmp5_00_00_02_02tc_summation_delivered", - "switch.climaxtechnology_psmp5_00_00_02_02tc_switch", - "sensor.climaxtechnology_psmp5_00_00_02_02tc_rssi", - "sensor.climaxtechnology_psmp5_00_00_02_02tc_lqi", - ], DEV_SIG_ENT_MAP: { ("switch", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -654,17 +571,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.climaxtechnology_sd8sc_00_00_03_12tc_identify", - "binary_sensor.climaxtechnology_sd8sc_00_00_03_12tc_iaszone", - "sensor.climaxtechnology_sd8sc_00_00_03_12tc_rssi", - "sensor.climaxtechnology_sd8sc_00_00_03_12tc_lqi", - "select.climaxtechnology_sd8sc_00_00_03_12tc_default_siren_tone", - "select.climaxtechnology_sd8sc_00_00_03_12tc_default_siren_level", - "select.climaxtechnology_sd8sc_00_00_03_12tc_default_strobe_level", - "select.climaxtechnology_sd8sc_00_00_03_12tc_default_strobe", - "siren.climaxtechnology_sd8sc_00_00_03_12tc_siren", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -740,12 +646,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.climaxtechnology_ws15_00_00_03_03tc_identify", - "binary_sensor.climaxtechnology_ws15_00_00_03_03tc_iaszone", - "sensor.climaxtechnology_ws15_00_00_03_03tc_rssi", - "sensor.climaxtechnology_ws15_00_00_03_03tc_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -795,12 +695,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.feibit_inc_co_fb56_zcw08ku1_1_identify", - "light.feibit_inc_co_fb56_zcw08ku1_1_light", - "sensor.feibit_inc_co_fb56_zcw08ku1_1_rssi", - "sensor.feibit_inc_co_fb56_zcw08ku1_1_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-11"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "light_color", "level"], @@ -839,18 +733,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.heiman_smokesensor_em_identify", - "sensor.heiman_smokesensor_em_battery", - "binary_sensor.heiman_smokesensor_em_iaszone", - "sensor.heiman_smokesensor_em_rssi", - "sensor.heiman_smokesensor_em_lqi", - "select.heiman_smokesensor_em_default_siren_tone", - "select.heiman_smokesensor_em_default_siren_level", - "select.heiman_smokesensor_em_default_strobe_level", - "select.heiman_smokesensor_em_default_strobe", - "siren.heiman_smokesensor_em_siren", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -919,12 +801,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.heiman_co_v16_identify", - "binary_sensor.heiman_co_v16_iaszone", - "sensor.heiman_co_v16_rssi", - "sensor.heiman_co_v16_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -963,17 +839,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.heiman_warningdevice_identify", - "binary_sensor.heiman_warningdevice_iaszone", - "sensor.heiman_warningdevice_rssi", - "sensor.heiman_warningdevice_lqi", - "select.heiman_warningdevice_default_siren_tone", - "select.heiman_warningdevice_default_siren_level", - "select.heiman_warningdevice_default_strobe_level", - "select.heiman_warningdevice_default_strobe", - "siren.heiman_warningdevice_siren", - ], DEV_SIG_ENT_MAP: { ("select", "00:11:22:33:44:55:66:77-1-1282-WarningMode"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_wd"], @@ -1037,15 +902,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["6:0x0019"], - DEV_SIG_ENTITIES: [ - "button.hivehome_com_mot003_identify", - "sensor.hivehome_com_mot003_battery", - "sensor.hivehome_com_mot003_illuminance", - "sensor.hivehome_com_mot003_temperature", - "binary_sensor.hivehome_com_mot003_iaszone", - "sensor.hivehome_com_mot003_rssi", - "sensor.hivehome_com_mot003_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-6-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -1106,12 +962,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_bulb_e12_ws_opal_600lm_identify", - "light.ikea_of_sweden_tradfri_bulb_e12_ws_opal_600lm_light", - "sensor.ikea_of_sweden_tradfri_bulb_e12_ws_opal_600lm_rssi", - "sensor.ikea_of_sweden_tradfri_bulb_e12_ws_opal_600lm_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -1158,12 +1008,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_bulb_e26_cws_opal_600lm_identify", - "light.ikea_of_sweden_tradfri_bulb_e26_cws_opal_600lm_light", - "sensor.ikea_of_sweden_tradfri_bulb_e26_cws_opal_600lm_rssi", - "sensor.ikea_of_sweden_tradfri_bulb_e26_cws_opal_600lm_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -1210,12 +1054,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_bulb_e26_w_opal_1000lm_identify", - "light.ikea_of_sweden_tradfri_bulb_e26_w_opal_1000lm_light", - "sensor.ikea_of_sweden_tradfri_bulb_e26_w_opal_1000lm_rssi", - "sensor.ikea_of_sweden_tradfri_bulb_e26_w_opal_1000lm_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -1262,12 +1100,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_bulb_e26_ws_opal_980lm_identify", - "light.ikea_of_sweden_tradfri_bulb_e26_ws_opal_980lm_light", - "sensor.ikea_of_sweden_tradfri_bulb_e26_ws_opal_980lm_rssi", - "sensor.ikea_of_sweden_tradfri_bulb_e26_ws_opal_980lm_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -1314,12 +1146,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_bulb_e26_opal_1000lm_identify", - "light.ikea_of_sweden_tradfri_bulb_e26_opal_1000lm_light", - "sensor.ikea_of_sweden_tradfri_bulb_e26_opal_1000lm_rssi", - "sensor.ikea_of_sweden_tradfri_bulb_e26_opal_1000lm_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -1366,12 +1192,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_control_outlet_identify", - "switch.ikea_of_sweden_tradfri_control_outlet_switch", - "sensor.ikea_of_sweden_tradfri_control_outlet_rssi", - "sensor.ikea_of_sweden_tradfri_control_outlet_lqi", - ], DEV_SIG_ENT_MAP: { ("switch", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -1414,13 +1234,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_motion_sensor_identify", - "sensor.ikea_of_sweden_tradfri_motion_sensor_battery", - "binary_sensor.ikea_of_sweden_tradfri_motion_sensor_motion", - "sensor.ikea_of_sweden_tradfri_motion_sensor_rssi", - "sensor.ikea_of_sweden_tradfri_motion_sensor_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1470,12 +1283,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0019", "1:0x0102"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_on_off_switch_identify", - "sensor.ikea_of_sweden_tradfri_on_off_switch_battery", - "sensor.ikea_of_sweden_tradfri_on_off_switch_rssi", - "sensor.ikea_of_sweden_tradfri_on_off_switch_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1518,12 +1325,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0006", "1:0x0008", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_remote_control_identify", - "sensor.ikea_of_sweden_tradfri_remote_control_battery", - "sensor.ikea_of_sweden_tradfri_remote_control_rssi", - "sensor.ikea_of_sweden_tradfri_remote_control_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1573,11 +1374,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_signal_repeater_identify", - "sensor.ikea_of_sweden_tradfri_signal_repeater_rssi", - "sensor.ikea_of_sweden_tradfri_signal_repeater_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1615,12 +1411,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ikea_of_sweden_tradfri_wireless_dimmer_identify", - "sensor.ikea_of_sweden_tradfri_wireless_dimmer_battery", - "sensor.ikea_of_sweden_tradfri_wireless_dimmer_rssi", - "sensor.ikea_of_sweden_tradfri_wireless_dimmer_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1672,14 +1462,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019", "2:0x0006", "2:0x0008"], - DEV_SIG_ENTITIES: [ - "button.jasco_products_45852_identify", - "sensor.jasco_products_45852_instantaneous_demand", - "sensor.jasco_products_45852_summation_delivered", - "light.jasco_products_45852_light", - "sensor.jasco_products_45852_rssi", - "sensor.jasco_products_45852_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -1735,14 +1517,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019", "2:0x0006"], - DEV_SIG_ENTITIES: [ - "button.jasco_products_45856_identify", - "light.jasco_products_45856_light", - "sensor.jasco_products_45856_instantaneous_demand", - "sensor.jasco_products_45856_summation_delivered", - "sensor.jasco_products_45856_rssi", - "sensor.jasco_products_45856_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -1798,14 +1572,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019", "2:0x0006", "2:0x0008"], - DEV_SIG_ENTITIES: [ - "button.jasco_products_45857_identify", - "light.jasco_products_45857_light", - "sensor.jasco_products_45857_instantaneous_demand", - "sensor.jasco_products_45857_summation_delivered", - "sensor.jasco_products_45857_rssi", - "sensor.jasco_products_45857_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -1854,15 +1620,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.keen_home_inc_sv02_610_mp_1_3_identify", - "sensor.keen_home_inc_sv02_610_mp_1_3_battery", - "sensor.keen_home_inc_sv02_610_mp_1_3_pressure", - "sensor.keen_home_inc_sv02_610_mp_1_3_temperature", - "cover.keen_home_inc_sv02_610_mp_1_3_keenvent", - "sensor.keen_home_inc_sv02_610_mp_1_3_rssi", - "sensor.keen_home_inc_sv02_610_mp_1_3_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1916,15 +1673,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.keen_home_inc_sv02_612_mp_1_2_identify", - "sensor.keen_home_inc_sv02_612_mp_1_2_battery", - "sensor.keen_home_inc_sv02_612_mp_1_2_pressure", - "sensor.keen_home_inc_sv02_612_mp_1_2_temperature", - "cover.keen_home_inc_sv02_612_mp_1_2_keenvent", - "sensor.keen_home_inc_sv02_612_mp_1_2_rssi", - "sensor.keen_home_inc_sv02_612_mp_1_2_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -1978,15 +1726,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.keen_home_inc_sv02_612_mp_1_3_identify", - "sensor.keen_home_inc_sv02_612_mp_1_3_battery", - "sensor.keen_home_inc_sv02_612_mp_1_3_pressure", - "sensor.keen_home_inc_sv02_612_mp_1_3_temperature", - "cover.keen_home_inc_sv02_612_mp_1_3_keenvent", - "sensor.keen_home_inc_sv02_612_mp_1_3_rssi", - "sensor.keen_home_inc_sv02_612_mp_1_3_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -2040,13 +1779,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.king_of_fans_inc_hbuniversalcfremote_identify", - "light.king_of_fans_inc_hbuniversalcfremote_light", - "fan.king_of_fans_inc_hbuniversalcfremote_fan", - "sensor.king_of_fans_inc_hbuniversalcfremote_rssi", - "sensor.king_of_fans_inc_hbuniversalcfremote_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -2092,12 +1824,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0019", "1:0x0300"], - DEV_SIG_ENTITIES: [ - "button.lds_zbt_cctswitch_d0001_identify", - "sensor.lds_zbt_cctswitch_d0001_battery", - "sensor.lds_zbt_cctswitch_d0001_rssi", - "sensor.lds_zbt_cctswitch_d0001_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -2136,12 +1862,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ledvance_a19_rgbw_identify", - "light.ledvance_a19_rgbw_light", - "sensor.ledvance_a19_rgbw_rssi", - "sensor.ledvance_a19_rgbw_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -2180,12 +1900,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ledvance_flex_rgbw_identify", - "light.ledvance_flex_rgbw_light", - "sensor.ledvance_flex_rgbw_rssi", - "sensor.ledvance_flex_rgbw_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -2224,12 +1938,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ledvance_plug_identify", - "switch.ledvance_plug_switch", - "sensor.ledvance_plug_rssi", - "sensor.ledvance_plug_lqi", - ], DEV_SIG_ENT_MAP: { ("switch", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -2268,12 +1976,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.ledvance_rt_rgbw_identify", - "light.ledvance_rt_rgbw_light", - "sensor.ledvance_rt_rgbw_rssi", - "sensor.ledvance_rt_rgbw_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -2333,20 +2035,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_plug_maus01_identify", - "sensor.lumi_lumi_plug_maus01_active_power", - "sensor.lumi_lumi_plug_maus01_apparent_power", - "sensor.lumi_lumi_plug_maus01_rms_current", - "sensor.lumi_lumi_plug_maus01_rms_voltage", - "sensor.lumi_lumi_plug_maus01_ac_frequency", - "sensor.lumi_lumi_plug_maus01_power_factor", - "binary_sensor.lumi_lumi_plug_maus01_binaryinput", - "switch.lumi_lumi_plug_maus01_switch", - "sensor.lumi_lumi_plug_maus01_rssi", - "sensor.lumi_lumi_plug_maus01_lqi", - "sensor.lumi_lumi_plug_maus01_device_temperature", - ], DEV_SIG_ENT_MAP: { ("switch", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -2368,26 +2056,11 @@ DEVICES = [ DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurement", DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_plug_maus01_active_power", }, - ("sensor", "00:11:22:33:44:55:66:77-1-2820-apparent_power"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementApparentPower", - DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_plug_maus01_apparent_power", - }, - ("sensor", "00:11:22:33:44:55:66:77-1-2820-rms_current"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementRMSCurrent", - DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_plug_maus01_rms_current", - }, ("sensor", "00:11:22:33:44:55:66:77-1-2820-rms_voltage"): { DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementRMSVoltage", DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_plug_maus01_rms_voltage", }, - ("sensor", "00:11:22:33:44:55:66:77-1-2820-ac_frequency"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementFrequency", - DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_plug_maus01_ac_frequency", - }, ("sensor", "00:11:22:33:44:55:66:77-1-2820-power_factor"): { DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementPowerFactor", @@ -2408,6 +2081,11 @@ DEVICES = [ DEV_SIG_ENT_MAP_CLASS: "BinaryInput", DEV_SIG_ENT_MAP_ID: "binary_sensor.lumi_lumi_plug_maus01_binaryinput", }, + ("sensor", "00:11:22:33:44:55:66:77-1-1794-summation_delivered"): { + DEV_SIG_CLUSTER_HANDLERS: ["smartenergy_metering"], + DEV_SIG_ENT_MAP_CLASS: "SmartEnergySummation", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_plug_maus01_summation_delivered", + }, }, }, { @@ -2432,20 +2110,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_relay_c2acn01_identify", - "light.lumi_lumi_relay_c2acn01_light", - "light.lumi_lumi_relay_c2acn01_light_2", - "sensor.lumi_lumi_relay_c2acn01_active_power", - "sensor.lumi_lumi_relay_c2acn01_apparent_power", - "sensor.lumi_lumi_relay_c2acn01_rms_current", - "sensor.lumi_lumi_relay_c2acn01_rms_voltage", - "sensor.lumi_lumi_relay_c2acn01_ac_frequency", - "sensor.lumi_lumi_relay_c2acn01_power_factor", - "sensor.lumi_lumi_relay_c2acn01_rssi", - "sensor.lumi_lumi_relay_c2acn01_lqi", - "sensor.lumi_lumi_relay_c2acn01_device_temperature", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -2538,12 +2202,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019", "2:0x0005", "3:0x0005"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_remote_b186acn01_identify", - "sensor.lumi_lumi_remote_b186acn01_battery", - "sensor.lumi_lumi_remote_b186acn01_rssi", - "sensor.lumi_lumi_remote_b186acn01_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -2596,12 +2254,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019", "2:0x0005", "3:0x0005"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_remote_b286acn01_identify", - "sensor.lumi_lumi_remote_b286acn01_battery", - "sensor.lumi_lumi_remote_b286acn01_rssi", - "sensor.lumi_lumi_remote_b286acn01_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -2674,18 +2326,18 @@ DEVICES = [ SIG_EP_PROFILE: -1, }, }, - DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0300"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_remote_b286opcn01_identify", - "sensor.lumi_lumi_remote_b286opcn01_rssi", - "sensor.lumi_lumi_remote_b286opcn01_lqi", - ], + DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0300", "2:0x0006"], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", DEV_SIG_ENT_MAP_ID: "button.lumi_lumi_remote_b286opcn01_identify", }, + ("sensor", "00:11:22:33:44:55:66:77-1-1"): { + DEV_SIG_CLUSTER_HANDLERS: ["power"], + DEV_SIG_ENT_MAP_CLASS: "Battery", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_remote_b286opcn01_battery", + }, ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -2748,17 +2400,17 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0300", "2:0x0006"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_remote_b486opcn01_identify", - "sensor.lumi_lumi_remote_b486opcn01_rssi", - "sensor.lumi_lumi_remote_b486opcn01_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", DEV_SIG_ENT_MAP_ID: "button.lumi_lumi_remote_b486opcn01_identify", }, + ("sensor", "00:11:22:33:44:55:66:77-1-1"): { + DEV_SIG_CLUSTER_HANDLERS: ["power"], + DEV_SIG_ENT_MAP_CLASS: "Battery", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_remote_b486opcn01_battery", + }, ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -2785,18 +2437,18 @@ DEVICES = [ SIG_EP_PROFILE: 260, }, }, - DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0300"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_remote_b686opcn01_identify", - "sensor.lumi_lumi_remote_b686opcn01_rssi", - "sensor.lumi_lumi_remote_b686opcn01_lqi", - ], + DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0300", "2:0x0006"], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", DEV_SIG_ENT_MAP_ID: "button.lumi_lumi_remote_b686opcn01_identify", }, + ("sensor", "00:11:22:33:44:55:66:77-1-1"): { + DEV_SIG_CLUSTER_HANDLERS: ["power"], + DEV_SIG_ENT_MAP_CLASS: "Battery", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_remote_b686opcn01_battery", + }, ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -2859,17 +2511,17 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0300", "2:0x0006"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_remote_b686opcn01_identify", - "sensor.lumi_lumi_remote_b686opcn01_rssi", - "sensor.lumi_lumi_remote_b686opcn01_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", DEV_SIG_ENT_MAP_ID: "button.lumi_lumi_remote_b686opcn01_identify", }, + ("sensor", "00:11:22:33:44:55:66:77-1-1"): { + DEV_SIG_CLUSTER_HANDLERS: ["power"], + DEV_SIG_ENT_MAP_CLASS: "Battery", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_remote_b686opcn01_battery", + }, ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -2897,12 +2549,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["8:0x0006"], - DEV_SIG_ENTITIES: [ - "light.lumi_lumi_router_light", - "binary_sensor.lumi_lumi_router_opening", - "sensor.lumi_lumi_router_rssi", - "sensor.lumi_lumi_router_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-8"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -2941,12 +2587,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["8:0x0006"], - DEV_SIG_ENTITIES: [ - "light.lumi_lumi_router_light", - "binary_sensor.lumi_lumi_router_opening", - "sensor.lumi_lumi_router_rssi", - "sensor.lumi_lumi_router_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-8"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -2985,12 +2625,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["8:0x0006"], - DEV_SIG_ENTITIES: [ - "light.lumi_lumi_router_light", - "binary_sensor.lumi_lumi_router_opening", - "sensor.lumi_lumi_router_rssi", - "sensor.lumi_lumi_router_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-8"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -3029,13 +2663,12 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sen_ill_mgl01_identify", - "sensor.lumi_lumi_sen_ill_mgl01_illuminance", - "sensor.lumi_lumi_sen_ill_mgl01_rssi", - "sensor.lumi_lumi_sen_ill_mgl01_lqi", - ], DEV_SIG_ENT_MAP: { + ("sensor", "00:11:22:33:44:55:66:77-1-1"): { + DEV_SIG_CLUSTER_HANDLERS: ["power"], + DEV_SIG_ENT_MAP_CLASS: "Battery", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_sen_ill_mgl01_battery", + }, ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", @@ -3087,12 +2720,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019", "2:0x0005", "3:0x0005"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_86sw1_identify", - "sensor.lumi_lumi_sensor_86sw1_battery", - "sensor.lumi_lumi_sensor_86sw1_rssi", - "sensor.lumi_lumi_sensor_86sw1_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3145,12 +2772,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019", "2:0x0005", "3:0x0005"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_cube_aqgl01_identify", - "sensor.lumi_lumi_sensor_cube_aqgl01_battery", - "sensor.lumi_lumi_sensor_cube_aqgl01_rssi", - "sensor.lumi_lumi_sensor_cube_aqgl01_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3203,14 +2824,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019", "2:0x0005", "3:0x0005"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_ht_identify", - "sensor.lumi_lumi_sensor_ht_battery", - "sensor.lumi_lumi_sensor_ht_temperature", - "sensor.lumi_lumi_sensor_ht_humidity", - "sensor.lumi_lumi_sensor_ht_rssi", - "sensor.lumi_lumi_sensor_ht_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3259,13 +2872,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0006", "1:0x0008", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_magnet_identify", - "sensor.lumi_lumi_sensor_magnet_battery", - "binary_sensor.lumi_lumi_sensor_magnet_opening", - "sensor.lumi_lumi_sensor_magnet_rssi", - "sensor.lumi_lumi_sensor_magnet_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3309,13 +2915,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_magnet_aq2_identify", - "sensor.lumi_lumi_sensor_magnet_aq2_battery", - "binary_sensor.lumi_lumi_sensor_magnet_aq2_opening", - "sensor.lumi_lumi_sensor_magnet_aq2_rssi", - "sensor.lumi_lumi_sensor_magnet_aq2_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3359,15 +2958,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_motion_aq2_identify", - "sensor.lumi_lumi_sensor_motion_aq2_battery", - "sensor.lumi_lumi_sensor_motion_aq2_illuminance", - "binary_sensor.lumi_lumi_sensor_motion_aq2_occupancy", - "binary_sensor.lumi_lumi_sensor_motion_aq2_iaszone", - "sensor.lumi_lumi_sensor_motion_aq2_rssi", - "sensor.lumi_lumi_sensor_motion_aq2_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1030"): { DEV_SIG_CLUSTER_HANDLERS: ["occupancy"], @@ -3396,6 +2986,18 @@ DEVICES = [ DEV_SIG_ENT_MAP_CLASS: "Illuminance", DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_sensor_motion_aq2_illuminance", }, + ("sensor", "00:11:22:33:44:55:66:77-1-1"): { + DEV_SIG_CLUSTER_HANDLERS: ["power"], + DEV_SIG_ENT_MAP_CLASS: "Battery", + DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_sensor_motion_aq2_battery", + }, + ("sensor", "00:11:22:33:44:55:66:77-1-2"): { + DEV_SIG_CLUSTER_HANDLERS: ["device_temperature"], + DEV_SIG_ENT_MAP_CLASS: "DeviceTemperature", + DEV_SIG_ENT_MAP_ID: ( + "sensor.lumi_lumi_sensor_motion_aq2_device_temperature" + ), + }, ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -3423,13 +3025,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_smoke_identify", - "sensor.lumi_lumi_sensor_smoke_battery", - "binary_sensor.lumi_lumi_sensor_smoke_iaszone", - "sensor.lumi_lumi_sensor_smoke_rssi", - "sensor.lumi_lumi_sensor_smoke_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -3446,6 +3041,13 @@ DEVICES = [ DEV_SIG_ENT_MAP_CLASS: "Battery", DEV_SIG_ENT_MAP_ID: "sensor.lumi_lumi_sensor_smoke_battery", }, + ("sensor", "00:11:22:33:44:55:66:77-1-2"): { + DEV_SIG_CLUSTER_HANDLERS: ["device_temperature"], + DEV_SIG_ENT_MAP_CLASS: "DeviceTemperature", + DEV_SIG_ENT_MAP_ID: ( + "sensor.lumi_lumi_sensor_smoke_device_temperature" + ), + }, ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -3473,12 +3075,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0006", "1:0x0008", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_switch_identify", - "sensor.lumi_lumi_sensor_switch_battery", - "sensor.lumi_lumi_sensor_switch_rssi", - "sensor.lumi_lumi_sensor_switch_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3517,11 +3113,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006"], - DEV_SIG_ENTITIES: [ - "sensor.lumi_lumi_sensor_switch_aq2_battery", - "sensor.lumi_lumi_sensor_switch_aq2_rssi", - "sensor.lumi_lumi_sensor_switch_aq2_lqi", - ], DEV_SIG_ENT_MAP: { ("sensor", "00:11:22:33:44:55:66:77-1-1"): { DEV_SIG_CLUSTER_HANDLERS: ["power"], @@ -3555,11 +3146,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006"], - DEV_SIG_ENTITIES: [ - "sensor.lumi_lumi_sensor_switch_aq3_battery", - "sensor.lumi_lumi_sensor_switch_aq3_rssi", - "sensor.lumi_lumi_sensor_switch_aq3_lqi", - ], DEV_SIG_ENT_MAP: { ("sensor", "00:11:22:33:44:55:66:77-1-1"): { DEV_SIG_CLUSTER_HANDLERS: ["power"], @@ -3593,14 +3179,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_sensor_wleak_aq1_identify", - "sensor.lumi_lumi_sensor_wleak_aq1_battery", - "binary_sensor.lumi_lumi_sensor_wleak_aq1_iaszone", - "sensor.lumi_lumi_sensor_wleak_aq1_rssi", - "sensor.lumi_lumi_sensor_wleak_aq1_lqi", - "sensor.lumi_lumi_sensor_wleak_aq1_device_temperature", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -3658,14 +3236,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0019", "2:0x0005"], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_vibration_aq1_identify", - "sensor.lumi_lumi_vibration_aq1_battery", - "binary_sensor.lumi_lumi_vibration_aq1_iaszone", - "lock.lumi_lumi_vibration_aq1_doorlock", - "sensor.lumi_lumi_vibration_aq1_rssi", - "sensor.lumi_lumi_vibration_aq1_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -3714,15 +3284,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.lumi_lumi_weather_identify", - "sensor.lumi_lumi_weather_battery", - "sensor.lumi_lumi_weather_pressure", - "sensor.lumi_lumi_weather_temperature", - "sensor.lumi_lumi_weather_humidity", - "sensor.lumi_lumi_weather_rssi", - "sensor.lumi_lumi_weather_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -3776,13 +3337,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.nyce_3010_identify", - "sensor.nyce_3010_battery", - "binary_sensor.nyce_3010_iaszone", - "sensor.nyce_3010_rssi", - "sensor.nyce_3010_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -3826,13 +3380,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.nyce_3014_identify", - "sensor.nyce_3014_battery", - "binary_sensor.nyce_3014_iaszone", - "sensor.nyce_3014_rssi", - "sensor.nyce_3014_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -3883,7 +3430,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: ["1:0x0019"], DEV_SIG_ENT_MAP: {}, }, { @@ -3901,7 +3447,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [], DEV_SIG_ENT_MAP: {}, }, { @@ -3919,12 +3464,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["3:0x0019"], - DEV_SIG_ENTITIES: [ - "button.osram_lightify_a19_rgbw_identify", - "light.osram_lightify_a19_rgbw_light", - "sensor.osram_lightify_a19_rgbw_rssi", - "sensor.osram_lightify_a19_rgbw_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-3"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "light_color", "level"], @@ -3963,12 +3502,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0006", "1:0x0008", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.osram_lightify_dimming_switch_identify", - "sensor.osram_lightify_dimming_switch_battery", - "sensor.osram_lightify_dimming_switch_rssi", - "sensor.osram_lightify_dimming_switch_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -4007,12 +3540,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["3:0x0019"], - DEV_SIG_ENTITIES: [ - "button.osram_lightify_flex_rgbw_identify", - "light.osram_lightify_flex_rgbw_light", - "sensor.osram_lightify_flex_rgbw_rssi", - "sensor.osram_lightify_flex_rgbw_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-3"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "light_color", "level"], @@ -4051,18 +3578,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["3:0x0019"], - DEV_SIG_ENTITIES: [ - "button.osram_lightify_rt_tunable_white_identify", - "light.osram_lightify_rt_tunable_white_light", - "sensor.osram_lightify_rt_tunable_white_active_power", - "sensor.osram_lightify_rt_tunable_white_apparent_power", - "sensor.osram_lightify_rt_tunable_white_rms_current", - "sensor.osram_lightify_rt_tunable_white_rms_voltage", - "sensor.osram_lightify_rt_tunable_white_ac_frequency", - "sensor.osram_lightify_rt_tunable_white_power_factor", - "sensor.osram_lightify_rt_tunable_white_rssi", - "sensor.osram_lightify_rt_tunable_white_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-3"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "light_color", "level"], @@ -4143,18 +3658,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["3:0x0019"], - DEV_SIG_ENTITIES: [ - "button.osram_plug_01_identify", - "sensor.osram_plug_01_active_power", - "sensor.osram_plug_01_apparent_power", - "sensor.osram_plug_01_rms_current", - "sensor.osram_plug_01_rms_voltage", - "sensor.osram_plug_01_ac_frequency", - "sensor.osram_plug_01_power_factor", - "switch.osram_plug_01_switch", - "sensor.osram_plug_01_rssi", - "sensor.osram_plug_01_lqi", - ], DEV_SIG_ENT_MAP: { ("switch", "00:11:22:33:44:55:66:77-3"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -4166,36 +3669,6 @@ DEVICES = [ DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", DEV_SIG_ENT_MAP_ID: "button.osram_plug_01_identify", }, - ("sensor", "00:11:22:33:44:55:66:77-3-2820"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurement", - DEV_SIG_ENT_MAP_ID: "sensor.osram_plug_01_active_power", - }, - ("sensor", "00:11:22:33:44:55:66:77-3-2820-apparent_power"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementApparentPower", - DEV_SIG_ENT_MAP_ID: "sensor.osram_plug_01_apparent_power", - }, - ("sensor", "00:11:22:33:44:55:66:77-3-2820-rms_current"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementRMSCurrent", - DEV_SIG_ENT_MAP_ID: "sensor.osram_plug_01_rms_current", - }, - ("sensor", "00:11:22:33:44:55:66:77-3-2820-rms_voltage"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementRMSVoltage", - DEV_SIG_ENT_MAP_ID: "sensor.osram_plug_01_rms_voltage", - }, - ("sensor", "00:11:22:33:44:55:66:77-3-2820-ac_frequency"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementFrequency", - DEV_SIG_ENT_MAP_ID: "sensor.osram_plug_01_ac_frequency", - }, - ("sensor", "00:11:22:33:44:55:66:77-3-2820-power_factor"): { - DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], - DEV_SIG_ENT_MAP_CLASS: "ElectricalMeasurementPowerFactor", - DEV_SIG_ENT_MAP_ID: "sensor.osram_plug_01_power_factor", - }, ("sensor", "00:11:22:33:44:55:66:77-3-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], DEV_SIG_ENT_MAP_CLASS: "RSSISensor", @@ -4284,11 +3757,6 @@ DEVICES = [ "6:0x0008", "6:0x0300", ], - DEV_SIG_ENTITIES: [ - "sensor.osram_switch_4x_lightify_battery", - "sensor.osram_switch_4x_lightify_rssi", - "sensor.osram_switch_4x_lightify_lqi", - ], DEV_SIG_ENT_MAP: { ("sensor", "00:11:22:33:44:55:66:77-1-1"): { DEV_SIG_CLUSTER_HANDLERS: ["power"], @@ -4329,13 +3797,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0006", "1:0x0008", "2:0x0019"], - DEV_SIG_ENTITIES: [ - "button.philips_rwl020_identify", - "sensor.philips_rwl020_battery", - "binary_sensor.philips_rwl020_binaryinput", - "sensor.philips_rwl020_rssi", - "sensor.philips_rwl020_lqi", - ], DEV_SIG_ENT_MAP: { ("sensor", "00:11:22:33:44:55:66:77-1-0-rssi"): { DEV_SIG_CLUSTER_HANDLERS: ["basic"], @@ -4379,14 +3840,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.samjin_button_identify", - "sensor.samjin_button_battery", - "sensor.samjin_button_temperature", - "binary_sensor.samjin_button_iaszone", - "sensor.samjin_button_rssi", - "sensor.samjin_button_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -4435,14 +3888,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.samjin_multi_identify", - "sensor.samjin_multi_battery", - "sensor.samjin_multi_temperature", - "binary_sensor.samjin_multi_iaszone", - "sensor.samjin_multi_rssi", - "sensor.samjin_multi_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -4454,6 +3899,11 @@ DEVICES = [ DEV_SIG_ENT_MAP_CLASS: "ZHAIdentifyButton", DEV_SIG_ENT_MAP_ID: "button.samjin_multi_identify", }, + ("binary_sensor", "00:11:22:33:44:55:66:77-1-64514"): { + DEV_SIG_CLUSTER_HANDLERS: ["accelerometer"], + DEV_SIG_ENT_MAP_CLASS: "Accelerometer", + DEV_SIG_ENT_MAP_ID: "binary_sensor.samjin_multi_accelerometer", + }, ("sensor", "00:11:22:33:44:55:66:77-1-1"): { DEV_SIG_CLUSTER_HANDLERS: ["power"], DEV_SIG_ENT_MAP_CLASS: "Battery", @@ -4491,14 +3941,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.samjin_water_identify", - "sensor.samjin_water_battery", - "sensor.samjin_water_temperature", - "binary_sensor.samjin_water_iaszone", - "sensor.samjin_water_rssi", - "sensor.samjin_water_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -4547,18 +3989,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0005", "1:0x0006", "1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.securifi_ltd_unk_model_identify", - "sensor.securifi_ltd_unk_model_active_power", - "sensor.securifi_ltd_unk_model_apparent_power", - "sensor.securifi_ltd_unk_model_rms_current", - "sensor.securifi_ltd_unk_model_rms_voltage", - "sensor.securifi_ltd_unk_model_ac_frequency", - "sensor.securifi_ltd_unk_model_power_factor", - "switch.securifi_ltd_unk_model_switch", - "sensor.securifi_ltd_unk_model_rssi", - "sensor.securifi_ltd_unk_model_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -4627,14 +4057,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sercomm_corp_sz_dws04n_sf_identify", - "sensor.sercomm_corp_sz_dws04n_sf_battery", - "sensor.sercomm_corp_sz_dws04n_sf_temperature", - "binary_sensor.sercomm_corp_sz_dws04n_sf_iaszone", - "sensor.sercomm_corp_sz_dws04n_sf_rssi", - "sensor.sercomm_corp_sz_dws04n_sf_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -4690,20 +4112,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019", "2:0x0006"], - DEV_SIG_ENTITIES: [ - "button.sercomm_corp_sz_esw01_identify", - "sensor.sercomm_corp_sz_esw01_active_power", - "sensor.sercomm_corp_sz_esw01_apparent_power", - "sensor.sercomm_corp_sz_esw01_rms_current", - "sensor.sercomm_corp_sz_esw01_rms_voltage", - "sensor.sercomm_corp_sz_esw01_ac_frequency", - "sensor.sercomm_corp_sz_esw01_power_factor", - "sensor.sercomm_corp_sz_esw01_instantaneous_demand", - "sensor.sercomm_corp_sz_esw01_summation_delivered", - "light.sercomm_corp_sz_esw01_light", - "sensor.sercomm_corp_sz_esw01_rssi", - "sensor.sercomm_corp_sz_esw01_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -4782,15 +4190,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sercomm_corp_sz_pir04_identify", - "sensor.sercomm_corp_sz_pir04_battery", - "sensor.sercomm_corp_sz_pir04_illuminance", - "sensor.sercomm_corp_sz_pir04_temperature", - "binary_sensor.sercomm_corp_sz_pir04_iaszone", - "sensor.sercomm_corp_sz_pir04_rssi", - "sensor.sercomm_corp_sz_pir04_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -4844,18 +4243,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sinope_technologies_rm3250zb_identify", - "sensor.sinope_technologies_rm3250zb_active_power", - "sensor.sinope_technologies_rm3250zb_apparent_power", - "sensor.sinope_technologies_rm3250zb_rms_current", - "sensor.sinope_technologies_rm3250zb_rms_voltage", - "sensor.sinope_technologies_rm3250zb_ac_frequency", - "sensor.sinope_technologies_rm3250zb_power_factor", - "switch.sinope_technologies_rm3250zb_switch", - "sensor.sinope_technologies_rm3250zb_rssi", - "sensor.sinope_technologies_rm3250zb_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -4933,20 +4320,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sinope_technologies_th1123zb_identify", - "sensor.sinope_technologies_th1123zb_active_power", - "sensor.sinope_technologies_th1123zb_apparent_power", - "sensor.sinope_technologies_th1123zb_rms_current", - "sensor.sinope_technologies_th1123zb_rms_voltage", - "sensor.sinope_technologies_th1123zb_ac_frequency", - "sensor.sinope_technologies_th1123zb_power_factor", - "sensor.sinope_technologies_th1123zb_temperature", - "sensor.sinope_technologies_th1123zb_hvac_action", - "climate.sinope_technologies_th1123zb_thermostat", - "sensor.sinope_technologies_th1123zb_rssi", - "sensor.sinope_technologies_th1123zb_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -4954,9 +4327,12 @@ DEVICES = [ DEV_SIG_ENT_MAP_ID: "button.sinope_technologies_th1123zb_identify", }, ("climate", "00:11:22:33:44:55:66:77-1"): { - DEV_SIG_CLUSTER_HANDLERS: ["thermostat"], - DEV_SIG_ENT_MAP_CLASS: "Thermostat", - DEV_SIG_ENT_MAP_ID: "climate.sinope_technologies_th1123zb_thermostat", + DEV_SIG_CLUSTER_HANDLERS: [ + "thermostat", + "sinope_manufacturer_specific", + ], + DEV_SIG_ENT_MAP_CLASS: "SinopeTechnologiesThermostat", + DEV_SIG_ENT_MAP_ID: "climate.sinope_technologies_th1123zb_sinopetechnologiesthermostat", }, ("sensor", "00:11:22:33:44:55:66:77-1-2820"): { DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], @@ -5034,20 +4410,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sinope_technologies_th1124zb_identify", - "sensor.sinope_technologies_th1124zb_active_power", - "sensor.sinope_technologies_th1124zb_apparent_power", - "sensor.sinope_technologies_th1124zb_rms_current", - "sensor.sinope_technologies_th1124zb_rms_voltage", - "sensor.sinope_technologies_th1124zb_ac_frequency", - "sensor.sinope_technologies_th1124zb_power_factor", - "sensor.sinope_technologies_th1124zb_temperature", - "sensor.sinope_technologies_th1124zb_hvac_action", - "climate.sinope_technologies_th1124zb_thermostat", - "sensor.sinope_technologies_th1124zb_rssi", - "sensor.sinope_technologies_th1124zb_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -5055,9 +4417,12 @@ DEVICES = [ DEV_SIG_ENT_MAP_ID: "button.sinope_technologies_th1124zb_identify", }, ("climate", "00:11:22:33:44:55:66:77-1"): { - DEV_SIG_CLUSTER_HANDLERS: ["thermostat"], - DEV_SIG_ENT_MAP_CLASS: "Thermostat", - DEV_SIG_ENT_MAP_ID: "climate.sinope_technologies_th1124zb_thermostat", + DEV_SIG_CLUSTER_HANDLERS: [ + "thermostat", + "sinope_manufacturer_specific", + ], + DEV_SIG_ENT_MAP_CLASS: "SinopeTechnologiesThermostat", + DEV_SIG_ENT_MAP_ID: "climate.sinope_technologies_th1124zb_sinopetechnologiesthermostat", }, ("sensor", "00:11:22:33:44:55:66:77-1-2820"): { DEV_SIG_CLUSTER_HANDLERS: ["electrical_measurement"], @@ -5128,19 +4493,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.smartthings_outletv4_identify", - "sensor.smartthings_outletv4_active_power", - "sensor.smartthings_outletv4_apparent_power", - "sensor.smartthings_outletv4_rms_current", - "sensor.smartthings_outletv4_rms_voltage", - "sensor.smartthings_outletv4_ac_frequency", - "sensor.smartthings_outletv4_power_factor", - "binary_sensor.smartthings_outletv4_binaryinput", - "switch.smartthings_outletv4_switch", - "sensor.smartthings_outletv4_rssi", - "sensor.smartthings_outletv4_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-15"): { DEV_SIG_CLUSTER_HANDLERS: ["binary_input"], @@ -5214,13 +4566,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.smartthings_tagv4_identify", - "device_tracker.smartthings_tagv4_devicescanner", - "binary_sensor.smartthings_tagv4_binaryinput", - "sensor.smartthings_tagv4_rssi", - "sensor.smartthings_tagv4_lqi", - ], DEV_SIG_ENT_MAP: { ("device_tracker", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["power"], @@ -5264,12 +4609,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.third_reality_inc_3rss007z_identify", - "switch.third_reality_inc_3rss007z_switch", - "sensor.third_reality_inc_3rss007z_rssi", - "sensor.third_reality_inc_3rss007z_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -5308,13 +4647,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.third_reality_inc_3rss008z_identify", - "sensor.third_reality_inc_3rss008z_battery", - "switch.third_reality_inc_3rss008z_switch", - "sensor.third_reality_inc_3rss008z_rssi", - "sensor.third_reality_inc_3rss008z_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -5358,14 +4690,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.visonic_mct_340_e_identify", - "sensor.visonic_mct_340_e_battery", - "sensor.visonic_mct_340_e_temperature", - "binary_sensor.visonic_mct_340_e_iaszone", - "sensor.visonic_mct_340_e_rssi", - "sensor.visonic_mct_340_e_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -5414,14 +4738,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.zen_within_zen_01_identify", - "sensor.zen_within_zen_01_battery", - "sensor.zen_within_zen_01_hvac_action", - "climate.zen_within_zen_01_zenwithinthermostat", - "sensor.zen_within_zen_01_rssi", - "sensor.zen_within_zen_01_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -5491,14 +4807,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "light.tyzb01_ns1ndbww_ts0004_light", - "light.tyzb01_ns1ndbww_ts0004_light_2", - "light.tyzb01_ns1ndbww_ts0004_light_3", - "light.tyzb01_ns1ndbww_ts0004_light_4", - "sensor.tyzb01_ns1ndbww_ts0004_rssi", - "sensor.tyzb01_ns1ndbww_ts0004_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off"], @@ -5547,13 +4855,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.netvox_z308e3ed_identify", - "sensor.netvox_z308e3ed_battery", - "binary_sensor.netvox_z308e3ed_iaszone", - "sensor.netvox_z308e3ed_rssi", - "sensor.netvox_z308e3ed_lqi", - ], DEV_SIG_ENT_MAP: { ("binary_sensor", "00:11:22:33:44:55:66:77-1-1280"): { DEV_SIG_CLUSTER_HANDLERS: ["ias_zone"], @@ -5597,14 +4898,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sengled_e11_g13_identify", - "light.sengled_e11_g13_mintransitionlight", - "sensor.sengled_e11_g13_instantaneous_demand", - "sensor.sengled_e11_g13_summation_delivered", - "sensor.sengled_e11_g13_rssi", - "sensor.sengled_e11_g13_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -5653,14 +4946,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sengled_e12_n14_identify", - "light.sengled_e12_n14_mintransitionlight", - "sensor.sengled_e12_n14_instantaneous_demand", - "sensor.sengled_e12_n14_summation_delivered", - "sensor.sengled_e12_n14_rssi", - "sensor.sengled_e12_n14_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"], @@ -5709,14 +4994,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["1:0x0019"], - DEV_SIG_ENTITIES: [ - "button.sengled_z01_a19nae26_identify", - "light.sengled_z01_a19nae26_mintransitionlight", - "sensor.sengled_z01_a19nae26_instantaneous_demand", - "sensor.sengled_z01_a19nae26_summation_delivered", - "sensor.sengled_z01_a19nae26_rssi", - "sensor.sengled_z01_a19nae26_lqi", - ], DEV_SIG_ENT_MAP: { ("light", "00:11:22:33:44:55:66:77-1"): { DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level", "light_color"], @@ -5765,12 +5042,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "button.unk_manufacturer_unk_model_identify", - "cover.unk_manufacturer_unk_model_shade", - "sensor.unk_manufacturer_unk_model_rssi", - "sensor.unk_manufacturer_unk_model_lqi", - ], DEV_SIG_ENT_MAP: { ("button", "00:11:22:33:44:55:66:77-1-3"): { DEV_SIG_CLUSTER_HANDLERS: ["identify"], @@ -5914,30 +5185,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: ["232:0x0008"], - DEV_SIG_ENTITIES: [ - "number.digi_xbee3_number", - "number.digi_xbee3_number_2", - "sensor.digi_xbee3_analoginput", - "sensor.digi_xbee3_analoginput_2", - "sensor.digi_xbee3_analoginput_3", - "sensor.digi_xbee3_analoginput_4", - "sensor.digi_xbee3_analoginput_5", - "switch.digi_xbee3_switch", - "switch.digi_xbee3_switch_2", - "switch.digi_xbee3_switch_3", - "switch.digi_xbee3_switch_4", - "switch.digi_xbee3_switch_5", - "switch.digi_xbee3_switch_6", - "switch.digi_xbee3_switch_7", - "switch.digi_xbee3_switch_8", - "switch.digi_xbee3_switch_9", - "switch.digi_xbee3_switch_10", - "switch.digi_xbee3_switch_11", - "switch.digi_xbee3_switch_12", - "switch.digi_xbee3_switch_13", - "switch.digi_xbee3_switch_14", - "switch.digi_xbee3_switch_15", - ], DEV_SIG_ENT_MAP: { ("sensor", "00:11:22:33:44:55:66:77-208-12"): { DEV_SIG_CLUSTER_HANDLERS: ["analog_input"], @@ -6066,13 +5313,6 @@ DEVICES = [ }, }, DEV_SIG_EVT_CLUSTER_HANDLERS: [], - DEV_SIG_ENTITIES: [ - "sensor.efektalab_ru_efekta_pws_battery", - "sensor.efektalab_ru_efekta_pws_soil_moisture", - "sensor.efektalab_ru_efekta_pws_temperature", - "sensor.efektalab_ru_efekta_pws_rssi", - "sensor.efektalab_ru_efekta_pws_lqi", - ], DEV_SIG_ENT_MAP: { ("sensor", "00:11:22:33:44:55:66:77-1-1"): { DEV_SIG_CLUSTER_HANDLERS: ["power"],