mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Tweak OZW Light discovery (#43325)
This commit is contained in:
parent
de5e49b37c
commit
b25e8be3f2
@ -254,11 +254,13 @@ DISCOVERY_SCHEMAS = (
|
|||||||
"min_kelvin": {
|
"min_kelvin": {
|
||||||
const.DISC_COMMAND_CLASS: (CommandClass.CONFIGURATION,),
|
const.DISC_COMMAND_CLASS: (CommandClass.CONFIGURATION,),
|
||||||
const.DISC_INDEX: 81, # PR for upstream to add SWITCH_COLOR_CT_WARM
|
const.DISC_INDEX: 81, # PR for upstream to add SWITCH_COLOR_CT_WARM
|
||||||
|
const.DISC_TYPE: ValueType.INT,
|
||||||
const.DISC_OPTIONAL: True,
|
const.DISC_OPTIONAL: True,
|
||||||
},
|
},
|
||||||
"max_kelvin": {
|
"max_kelvin": {
|
||||||
const.DISC_COMMAND_CLASS: (CommandClass.CONFIGURATION,),
|
const.DISC_COMMAND_CLASS: (CommandClass.CONFIGURATION,),
|
||||||
const.DISC_INDEX: 82, # PR for upstream to add SWITCH_COLOR_CT_COLD
|
const.DISC_INDEX: 82, # PR for upstream to add SWITCH_COLOR_CT_COLD
|
||||||
|
const.DISC_TYPE: ValueType.INT,
|
||||||
const.DISC_OPTIONAL: True,
|
const.DISC_OPTIONAL: True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
93
tests/fixtures/ozw/light_network_dump.csv
vendored
93
tests/fixtures/ozw/light_network_dump.csv
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user