mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Add "Jasco Products" manufacturer to ZHA ForceOnLight
(#104089)
* Add "Jasco Products" manufacturer to ZHA `ForceOnLight` * Change tests to expect `ForceOnLight` for "Jasco Products" lights
This commit is contained in:
parent
b3e247d5f0
commit
a996a51aa9
@ -1072,7 +1072,7 @@ class HueLight(Light):
|
||||
@STRICT_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_ON_OFF,
|
||||
aux_cluster_handlers={CLUSTER_HANDLER_COLOR, CLUSTER_HANDLER_LEVEL},
|
||||
manufacturers={"Jasco", "Quotra-Vision", "eWeLight", "eWeLink"},
|
||||
manufacturers={"Jasco", "Jasco Products", "Quotra-Vision", "eWeLight", "eWeLink"},
|
||||
)
|
||||
class ForceOnLight(Light):
|
||||
"""Representation of a light which does not respect on/off for move_to_level_with_on_off commands."""
|
||||
|
@ -1492,7 +1492,7 @@ DEVICES = [
|
||||
DEV_SIG_ENT_MAP: {
|
||||
("light", "00:11:22:33:44:55:66:77-1"): {
|
||||
DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"],
|
||||
DEV_SIG_ENT_MAP_CLASS: "Light",
|
||||
DEV_SIG_ENT_MAP_CLASS: "ForceOnLight",
|
||||
DEV_SIG_ENT_MAP_ID: "light.jasco_products_45852_light",
|
||||
},
|
||||
("button", "00:11:22:33:44:55:66:77-1-3"): {
|
||||
@ -1547,7 +1547,7 @@ DEVICES = [
|
||||
DEV_SIG_ENT_MAP: {
|
||||
("light", "00:11:22:33:44:55:66:77-1"): {
|
||||
DEV_SIG_CLUSTER_HANDLERS: ["on_off"],
|
||||
DEV_SIG_ENT_MAP_CLASS: "Light",
|
||||
DEV_SIG_ENT_MAP_CLASS: "ForceOnLight",
|
||||
DEV_SIG_ENT_MAP_ID: "light.jasco_products_45856_light",
|
||||
},
|
||||
("button", "00:11:22:33:44:55:66:77-1-3"): {
|
||||
@ -1602,7 +1602,7 @@ DEVICES = [
|
||||
DEV_SIG_ENT_MAP: {
|
||||
("light", "00:11:22:33:44:55:66:77-1"): {
|
||||
DEV_SIG_CLUSTER_HANDLERS: ["on_off", "level"],
|
||||
DEV_SIG_ENT_MAP_CLASS: "Light",
|
||||
DEV_SIG_ENT_MAP_CLASS: "ForceOnLight",
|
||||
DEV_SIG_ENT_MAP_ID: "light.jasco_products_45857_light",
|
||||
},
|
||||
("button", "00:11:22:33:44:55:66:77-1-3"): {
|
||||
|
Loading…
x
Reference in New Issue
Block a user