mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Update discovery scheme for Meter CC in zwave_js integration (#45897)
This commit is contained in:
parent
eaa9fff3ba
commit
9998fe3684
@ -155,13 +155,22 @@ DISCOVERY_SCHEMAS = [
|
|||||||
hint="numeric_sensor",
|
hint="numeric_sensor",
|
||||||
command_class={
|
command_class={
|
||||||
CommandClass.SENSOR_MULTILEVEL,
|
CommandClass.SENSOR_MULTILEVEL,
|
||||||
CommandClass.METER,
|
|
||||||
CommandClass.SENSOR_ALARM,
|
CommandClass.SENSOR_ALARM,
|
||||||
CommandClass.INDICATOR,
|
CommandClass.INDICATOR,
|
||||||
CommandClass.BATTERY,
|
CommandClass.BATTERY,
|
||||||
},
|
},
|
||||||
type={"number"},
|
type={"number"},
|
||||||
),
|
),
|
||||||
|
# numeric sensors for Meter CC
|
||||||
|
ZWaveDiscoverySchema(
|
||||||
|
platform="sensor",
|
||||||
|
hint="numeric_sensor",
|
||||||
|
command_class={
|
||||||
|
CommandClass.METER,
|
||||||
|
},
|
||||||
|
type={"number"},
|
||||||
|
property={"value"},
|
||||||
|
),
|
||||||
# special list sensors (Notification CC)
|
# special list sensors (Notification CC)
|
||||||
ZWaveDiscoverySchema(
|
ZWaveDiscoverySchema(
|
||||||
platform="sensor",
|
platform="sensor",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user