fix bug in event handling and add cast for watersensor

This commit is contained in:
Pascal Vizeli committed 2016-06-30 23:54:04 +02:00
1 parent d0b1619946
commit d326d187d1
2 files changed
+10 -5

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@ _LOGGER = logging.getLogger(__name__)
DEPENDENCIES = ['homematic']
HM_STATE_HA_CAST = {
"RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"}
"RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"},
"WaterSensor": {0: "dry", 1: "wet", 2: "water"}
}
HM_UNIT_HA_CAST = {