From 645c673720d412bcb0e12764269ae86d2021d608 Mon Sep 17 00:00:00 2001 From: crallian Date: Sun, 9 Feb 2020 17:41:43 +0100 Subject: [PATCH] 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. --- homeassistant/components/spc/binary_sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/spc/binary_sensor.py b/homeassistant/components/spc/binary_sensor.py index b5ff14ce01d..34689c4dccf 100644 --- a/homeassistant/components/spc/binary_sensor.py +++ b/homeassistant/components/spc/binary_sensor.py @@ -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)