diff --git a/homeassistant/components/zha/core/channels/manufacturerspecific.py b/homeassistant/components/zha/core/channels/manufacturerspecific.py index 427579cfb59..e6b88a6c9ad 100644 --- a/homeassistant/components/zha/core/channels/manufacturerspecific.py +++ b/homeassistant/components/zha/core/channels/manufacturerspecific.py @@ -224,7 +224,8 @@ class InovelliConfigEntityChannel(ZigbeeChannel): "switch_type": False, "button_delay": False, "smart_bulb_mode": False, - "double_tap_up_for_full_brightness": True, + "double_tap_up_for_max_brightness": True, + "double_tap_down_for_min_brightness": True, "led_color_when_on": True, "led_color_when_off": True, "led_intensity_when_on": True, diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index 85a8a0959b3..f7a16c83b60 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -372,14 +372,26 @@ class InovelliSmartBulbMode(ZHASwitchConfigurationEntity, id_suffix="smart_bulb_ channel_names=CHANNEL_INOVELLI, ) class InovelliDoubleTapForFullBrightness( - ZHASwitchConfigurationEntity, id_suffix="double_tap_up_for_full_brightness" + ZHASwitchConfigurationEntity, id_suffix="double_tap_up_for_max_brightness" ): """Inovelli double tap for full brightness control.""" - _zcl_attribute: str = "double_tap_up_for_full_brightness" + _zcl_attribute: str = "double_tap_up_for_max_brightness" _attr_name: str = "Double tap full brightness" +@CONFIG_DIAGNOSTIC_MATCH( + channel_names=CHANNEL_INOVELLI, +) +class InovelliDoubleTapForMinBrightness( + ZHASwitchConfigurationEntity, id_suffix="double_tap_down_for_min_brightness" +): + """Inovelli double tap down for minimum brightness control.""" + + _zcl_attribute: str = "double_tap_down_for_min_brightness" + _attr_name: str = "Double tap minimum brightness" + + @CONFIG_DIAGNOSTIC_MATCH( channel_names=CHANNEL_INOVELLI, )