Added changes for the statistics module to work. Finetuned hygrostat.

This commit is contained in:
Marcus Scholz 2022-03-28 20:25:15 +02:00
parent 33724132ff
commit aa1db64f19
2 changed files with 10 additions and 2 deletions

View File

@ -99,6 +99,6 @@ generic_hygrostat:
# keep_alive: # keep_alive:
# minutes: 3 # minutes: 3
initial_state: true initial_state: true
away_humidity: 35 away_humidity: 60
away_fixed: False away_fixed: true
sensor_stale_duration: 00:15:00 sensor_stale_duration: 00:15:00

View File

@ -77,12 +77,20 @@
name: "Badezimmer Temperatur" name: "Badezimmer Temperatur"
unique_id: bathroom.temperature unique_id: bathroom.temperature
state_topic: "home/bathroom/climate/sensor/temperature" state_topic: "home/bathroom/climate/sensor/temperature"
device_class: 'temperature'
state_class: 'measurement'
unit_of_measurement: '°C' unit_of_measurement: '°C'
last_reset_topic: "home/bathroom/climate/sensor/temperature"
last_reset_value_template: '1970-01-01T00:00:00+00:00'
force_update: true force_update: true
- platform: mqtt - platform: mqtt
name: "Badezimmer Luftfeuchtigkeit" name: "Badezimmer Luftfeuchtigkeit"
unique_id: bathroom.humidity unique_id: bathroom.humidity
state_topic: "home/bathroom/climate/sensor/humidity" state_topic: "home/bathroom/climate/sensor/humidity"
device_class: 'humidity'
state_class: 'measurement'
unit_of_measurement: '%' unit_of_measurement: '%'
last_reset_topic: "home/bathroom/climate/sensor/humidity"
last_reset_value_template: '1970-01-01T00:00:00+00:00'
force_update: true force_update: true