From 9adc48c0b01bfe643428a79693486acf58a1a063 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Thu, 14 May 2020 23:35:11 +0200 Subject: [PATCH] Fix HM-CC-VD unit, #31083 (#35066) --- 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 da803b406bf..6fa78602944 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -62,6 +62,7 @@ HM_UNIT_HA_CAST = { "AIR_PRESSURE": "hPa", "FREQUENCY": FREQUENCY_HERTZ, "VALUE": "#", + "VALVE_STATE": UNIT_PERCENTAGE, } HM_DEVICE_CLASS_HA_CAST = {