mirror of
https://github.com/home-assistant/core
synced 2024-09-09 12:51:22 +02:00
Fix sengled bulbs in ZHA (#78315)
* Fix sengled bulbs in ZHA * fix tests * update discovery data
This commit is contained in:
parent
19bee11a01
commit
9d47160e68
@ -78,7 +78,7 @@ PARALLEL_UPDATES = 0
|
||||
SIGNAL_LIGHT_GROUP_STATE_CHANGED = "zha_light_group_state_changed"
|
||||
SIGNAL_LIGHT_GROUP_TRANSITION_START = "zha_light_group_transition_start"
|
||||
SIGNAL_LIGHT_GROUP_TRANSITION_FINISHED = "zha_light_group_transition_finished"
|
||||
DEFAULT_MIN_TRANSITION_MANUFACTURERS = {"Sengled"}
|
||||
DEFAULT_MIN_TRANSITION_MANUFACTURERS = {"sengled"}
|
||||
|
||||
COLOR_MODES_GROUP_LIGHT = {ColorMode.COLOR_TEMP, ColorMode.XY}
|
||||
SUPPORT_GROUP_LIGHT = (
|
||||
|
@ -176,7 +176,7 @@ async def device_light_2(hass, zigpy_device_mock, zha_device_joined):
|
||||
}
|
||||
},
|
||||
ieee=IEEE_GROUPABLE_DEVICE2,
|
||||
manufacturer="Sengled",
|
||||
manufacturer="sengled",
|
||||
nwk=0xC79E,
|
||||
)
|
||||
color_cluster = zigpy_device.endpoints[1].light_color
|
||||
|
@ -5493,7 +5493,7 @@ DEVICES = [
|
||||
DEV_SIG_EVT_CHANNELS: ["1:0x0019"],
|
||||
DEV_SIG_ENTITIES: [
|
||||
"button.sengled_e11_g13_identifybutton",
|
||||
"light.sengled_e11_g13_light",
|
||||
"light.sengled_e11_g13_mintransitionlight",
|
||||
"sensor.sengled_e11_g13_smartenergymetering",
|
||||
"sensor.sengled_e11_g13_smartenergysummation",
|
||||
"sensor.sengled_e11_g13_rssi",
|
||||
@ -5502,8 +5502,8 @@ DEVICES = [
|
||||
DEV_SIG_ENT_MAP: {
|
||||
("light", "00:11:22:33:44:55:66:77-1"): {
|
||||
DEV_SIG_CHANNELS: ["on_off", "level"],
|
||||
DEV_SIG_ENT_MAP_CLASS: "Light",
|
||||
DEV_SIG_ENT_MAP_ID: "light.sengled_e11_g13_light",
|
||||
DEV_SIG_ENT_MAP_CLASS: "MinTransitionLight",
|
||||
DEV_SIG_ENT_MAP_ID: "light.sengled_e11_g13_mintransitionlight",
|
||||
},
|
||||
("button", "00:11:22:33:44:55:66:77-1-3"): {
|
||||
DEV_SIG_CHANNELS: ["identify"],
|
||||
@ -5549,7 +5549,7 @@ DEVICES = [
|
||||
DEV_SIG_EVT_CHANNELS: ["1:0x0019"],
|
||||
DEV_SIG_ENTITIES: [
|
||||
"button.sengled_e12_n14_identifybutton",
|
||||
"light.sengled_e12_n14_light",
|
||||
"light.sengled_e12_n14_mintransitionlight",
|
||||
"sensor.sengled_e12_n14_smartenergymetering",
|
||||
"sensor.sengled_e12_n14_smartenergysummation",
|
||||
"sensor.sengled_e12_n14_rssi",
|
||||
@ -5558,8 +5558,8 @@ DEVICES = [
|
||||
DEV_SIG_ENT_MAP: {
|
||||
("light", "00:11:22:33:44:55:66:77-1"): {
|
||||
DEV_SIG_CHANNELS: ["on_off", "level"],
|
||||
DEV_SIG_ENT_MAP_CLASS: "Light",
|
||||
DEV_SIG_ENT_MAP_ID: "light.sengled_e12_n14_light",
|
||||
DEV_SIG_ENT_MAP_CLASS: "MinTransitionLight",
|
||||
DEV_SIG_ENT_MAP_ID: "light.sengled_e12_n14_mintransitionlight",
|
||||
},
|
||||
("button", "00:11:22:33:44:55:66:77-1-3"): {
|
||||
DEV_SIG_CHANNELS: ["identify"],
|
||||
@ -5605,7 +5605,7 @@ DEVICES = [
|
||||
DEV_SIG_EVT_CHANNELS: ["1:0x0019"],
|
||||
DEV_SIG_ENTITIES: [
|
||||
"button.sengled_z01_a19nae26_identifybutton",
|
||||
"light.sengled_z01_a19nae26_light",
|
||||
"light.sengled_z01_a19nae26_mintransitionlight",
|
||||
"sensor.sengled_z01_a19nae26_smartenergymetering",
|
||||
"sensor.sengled_z01_a19nae26_smartenergysummation",
|
||||
"sensor.sengled_z01_a19nae26_rssi",
|
||||
@ -5614,8 +5614,8 @@ DEVICES = [
|
||||
DEV_SIG_ENT_MAP: {
|
||||
("light", "00:11:22:33:44:55:66:77-1"): {
|
||||
DEV_SIG_CHANNELS: ["on_off", "level", "light_color"],
|
||||
DEV_SIG_ENT_MAP_CLASS: "Light",
|
||||
DEV_SIG_ENT_MAP_ID: "light.sengled_z01_a19nae26_light",
|
||||
DEV_SIG_ENT_MAP_CLASS: "MinTransitionLight",
|
||||
DEV_SIG_ENT_MAP_ID: "light.sengled_z01_a19nae26_mintransitionlight",
|
||||
},
|
||||
("button", "00:11:22:33:44:55:66:77-1-3"): {
|
||||
DEV_SIG_CHANNELS: ["identify"],
|
||||
|
Loading…
Reference in New Issue
Block a user