diff --git a/configuration.yaml b/configuration.yaml index 59f8ae7..cedc465 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -99,6 +99,6 @@ generic_hygrostat: # keep_alive: # minutes: 3 initial_state: true - away_humidity: 35 - away_fixed: False + away_humidity: 60 + away_fixed: true sensor_stale_duration: 00:15:00 diff --git a/sensors.yaml b/sensors.yaml index c487dc7..0ef4638 100644 --- a/sensors.yaml +++ b/sensors.yaml @@ -77,12 +77,20 @@ name: "Badezimmer Temperatur" unique_id: bathroom.temperature state_topic: "home/bathroom/climate/sensor/temperature" + device_class: 'temperature' + state_class: 'measurement' 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 - platform: mqtt name: "Badezimmer Luftfeuchtigkeit" unique_id: bathroom.humidity state_topic: "home/bathroom/climate/sensor/humidity" + device_class: 'humidity' + state_class: '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