From 547a63e3145bd54d392ed58aafc6bd60b265b49a Mon Sep 17 00:00:00 2001 From: "David F. Mulcahey" Date: Sun, 2 Oct 2022 11:07:19 -0400 Subject: [PATCH] Remove unnecessary config entity from ZHA (#79472) --- .../zha/core/channels/manufacturerspecific.py | 30 ------------------- homeassistant/components/zha/number.py | 13 -------- 2 files changed, 43 deletions(-) diff --git a/homeassistant/components/zha/core/channels/manufacturerspecific.py b/homeassistant/components/zha/core/channels/manufacturerspecific.py index 49f5d1df249..724a794007d 100644 --- a/homeassistant/components/zha/core/channels/manufacturerspecific.py +++ b/homeassistant/components/zha/core/channels/manufacturerspecific.py @@ -181,43 +181,13 @@ class InovelliConfigEntityChannel(ZigbeeChannel): "power_type": False, "switch_type": False, "button_delay": False, - "device_bind_number": False, "smart_bulb_mode": False, "double_tap_up_for_full_brightness": False, - "default_led1_strip_color_when_on": False, - "default_led1_strip_color_when_off": False, - "default_led1_strip_intensity_when_on": False, - "default_led1_strip_intensity_when_off": False, - "default_led2_strip_color_when_on": False, - "default_led2_strip_color_when_off": False, - "default_led2_strip_intensity_when_on": False, - "default_led2_strip_intensity_when_off": False, - "default_led3_strip_color_when_on": False, - "default_led3_strip_color_when_off": False, - "default_led3_strip_intensity_when_on": False, - "default_led3_strip_intensity_when_off": False, - "default_led4_strip_color_when_on": False, - "default_led4_strip_color_when_off": False, - "default_led4_strip_intensity_when_on": False, - "default_led4_strip_intensity_when_off": False, - "default_led5_strip_color_when_on": False, - "default_led5_strip_color_when_off": False, - "default_led5_strip_intensity_when_on": False, - "default_led5_strip_intensity_when_off": False, - "default_led6_strip_color_when_on": False, - "default_led6_strip_color_when_off": False, - "default_led6_strip_intensity_when_on": False, - "default_led6_strip_intensity_when_off": False, - "default_led7_strip_color_when_on": False, - "default_led7_strip_color_when_off": False, - "default_led7_strip_intensity_when_on": False, - "default_led7_strip_intensity_when_off": False, "led_color_when_on": False, "led_color_when_off": False, "led_intensity_when_on": False, "led_intensity_when_off": False, "local_protection": False, - "remote_protection": False, "output_mode": False, "on_off_led_mode": False, "firmware_progress_led": False, diff --git a/homeassistant/components/zha/number.py b/homeassistant/components/zha/number.py index 6fe411abfb3..3bace412744 100644 --- a/homeassistant/components/zha/number.py +++ b/homeassistant/components/zha/number.py @@ -576,19 +576,6 @@ class InovelliButtonDelay(ZHANumberConfigurationEntity, id_suffix="button_delay" _attr_name: str = "Button delay" -@CONFIG_DIAGNOSTIC_MATCH(channel_names=CHANNEL_INOVELLI) -class InovelliDeviceBindNumber( - ZHANumberConfigurationEntity, id_suffix="device_bind_number" -): - """Inovelli device bind number configuration entity.""" - - _attr_entity_category = EntityCategory.CONFIG - _attr_native_min_value: float = 0 - _attr_native_max_value: float = 255 - _zcl_attribute: str = "device_bind_number" - _attr_name: str = "Device bind number" - - @CONFIG_DIAGNOSTIC_MATCH(channel_names=CHANNEL_INOVELLI) class InovelliLocalDimmingUpSpeed( ZHANumberConfigurationEntity, id_suffix="dimming_speed_up_local"