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
crallian 2020-02-09 17:41:43 +01:00 committed by GitHub
parent da0ddc84ab
commit 645c673720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)