mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Added rain sensor
This commit is contained in:
parent
6d35bdafee
commit
7edbb6aadc
@ -22,10 +22,14 @@ DEPENDENCIES = ['tellduslive']
|
|||||||
|
|
||||||
SENSOR_TYPE_TEMP = "temp"
|
SENSOR_TYPE_TEMP = "temp"
|
||||||
SENSOR_TYPE_HUMIDITY = "humidity"
|
SENSOR_TYPE_HUMIDITY = "humidity"
|
||||||
|
SENSOR_TYPE_RAINRATE = "rrate"
|
||||||
|
SENSOR_TYPE_RAINTOTAL = "rtot"
|
||||||
|
|
||||||
SENSOR_TYPES = {
|
SENSOR_TYPES = {
|
||||||
SENSOR_TYPE_TEMP: ['Temperature', TEMP_CELCIUS, "mdi:thermometer"],
|
SENSOR_TYPE_TEMP: ['Temperature', TEMP_CELCIUS, "mdi:thermometer"],
|
||||||
SENSOR_TYPE_HUMIDITY: ['Humidity', '%', "mdi:water"],
|
SENSOR_TYPE_HUMIDITY: ['Humidity', '%', "mdi:water"],
|
||||||
|
SENSOR_TYPE_RAINRATE: ['Rain rate', 'mm', "mdi:water"],
|
||||||
|
SENSOR_TYPE_RAINTOTAL: ['Rain total', 'mm', "mdi:water"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user