Add zwave_js Protection CC select entities (#54717)

* Add Protection CC select entities

comment

* Disable entity by default

* use class attribute

* Enable protection entity by default

* add guard for none
This commit is contained in:
Raman Gupta 2021-08-17 12:22:27 -04:00 committed by GitHub
parent 35f563e23e
commit cff6883b5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 146 additions and 0 deletions

View file

@ -646,6 +646,16 @@ DISCOVERY_SCHEMAS = [
),
required_values=[SIREN_TONE_SCHEMA],
),
# select
# protection CC
ZWaveDiscoverySchema(
platform="select",
primary_value=ZWaveValueDiscoverySchema(
command_class={CommandClass.PROTECTION},
property={"local", "rf"},
type={"number"},
),
),
]