Big Homematic update (#3677)

* Update homeassistant with new pyhomematic layout

* fix linter
This commit is contained in:
Pascal Vizeli authored and GitHub committed 2016-10-03 23:21:53 +02:00
1 parent c3ea04f2dd
commit 625319846c
4 files changed
+81 -98

No files matched your search

+3 -1
View File
@@ -18,7 +18,8 @@ DEPENDENCIES = ['homematic']
HM_STATE_HA_CAST = {
"RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"},
"WaterSensor": {0: "dry", 1: "wet", 2: "water"}
"WaterSensor": {0: "dry", 1: "wet", 2: "water"},
"CO2Sensor": {0: "normal", 1: "added", 2: "strong"},
}
HM_UNIT_HA_CAST = {
@@ -38,6 +39,7 @@ HM_UNIT_HA_CAST = {
"WIND_DIRECTION_RANGE": "°",
"SUNSHINEDURATION": "#",
"AIR_PRESSURE": "hPa",
"FREQUENCY": "Hz",
}