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.
This commit is contained in:
crallian authored and GitHub committed 2020-02-09 17:41:43 +01:00
1 parent da0ddc84ab
commit 645c673720
1 file changed
+1
@@ -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)