Added zone type Technical as power. (#31611)
*The zone type technical can be used in SPC to track status of e.g. mapping keys and outputs.pull/32128/head
parent
da0ddc84ab
commit
645c673720
|
@ -19,6 +19,7 @@ def _get_device_class(zone_type):
|
|||
ZoneType.ALARM: "motion",
|
||||
ZoneType.ENTRY_EXIT: "opening",
|
||||
ZoneType.FIRE: "smoke",
|
||||
ZoneType.TECHNICAL: "power",
|
||||
}.get(zone_type)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue