From f09a20b66d6b74d075c774be395a17f699995435 Mon Sep 17 00:00:00 2001 From: guillempages Date: Sun, 10 May 2020 18:10:02 +0200 Subject: [PATCH] Add names for the homematic garage door states (#35349) * Add names for the homematic garage door states * Use None instead of "unknown" Co-authored-by: Pascal Vizeli Co-authored-by: Pascal Vizeli --- homeassistant/components/homematic/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 7c4486065b4..da803b406bf 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -23,6 +23,7 @@ from .entity import HMDevice _LOGGER = logging.getLogger(__name__) HM_STATE_HA_CAST = { + "IPGarage": {0: "closed", 1: "open", 2: "ventilation", 3: None}, "RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"}, "RotaryHandleSensorIP": {0: "closed", 1: "tilted", 2: "open"}, "WaterSensor": {0: "dry", 1: "wet", 2: "water"},