homeassistant-config/mqtt.yaml

113 lines
3.3 KiB
YAML

sensor:
# MQTT bathroom sensors
- name: Temperatur
unique_id: bathroom.temperature
state_topic: "home/bathroom/climate/sensor/temperature"
device_class: 'temperature'
state_class: 'measurement'
unit_of_measurement: '°C'
last_reset_value_template: '1970-01-01T00:00:00+00:00'
device:
identifiers: MagicMirror-DHT22
name: MagicMirror-DHT22
model: DHT22
manufacturer: mqtt-io
force_update: true
- name: Luftfeuchtigkeit
unique_id: bathroom.humidity
state_topic: "home/bathroom/climate/sensor/humidity"
device_class: 'humidity'
state_class: 'measurement'
unit_of_measurement: '%'
last_reset_value_template: '1970-01-01T00:00:00+00:00'
device:
identifiers: MagicMirror-DHT22
name: MagicMirror-DHT22
model: DHT22
manufacturer: mqtt-io
force_update: true
# MQTT/RTL_433 (outdoor) sensors
# Reliable sensor with good placement (good values) and good reception
- device_class: battery
name: Batterie
unit_of_measurement: '%'
value_template: '{{ float(value) * 99 + 1 }}'
state_class: measurement
entity_category: diagnostic
state_topic: rtl_433/sdr/devices/Auriol-AHFL/1/244/battery_ok
unique_id: Auriol-AHFL-1-106-B
device:
identifiers: Auriol-AHFL-1-106
name: Auriol-AHFL-1-106
model: Auriol-AHFL
manufacturer: rtl_433
- device_class: temperature
name: Temperatur
unit_of_measurement: °C
value_template: '{{ value|float }}'
state_class: measurement
state_topic: rtl_433/sdr/devices/Auriol-AHFL/1/244/temperature_C
unique_id: Auriol-AHFL-1-106-T
device:
identifiers: Auriol-AHFL-1-106
name: Auriol-AHFL-1-106
model: Auriol-AHFL
manufacturer: rtl_433
- device_class: humidity
name: Luftfeuchtigkeit
unit_of_measurement: '%'
value_template: '{{ value|float }}'
state_class: measurement
state_topic: rtl_433/sdr/devices/Auriol-AHFL/1/244/humidity
unique_id: Auriol-AHFL-1-106-H
device:
identifiers: Auriol-AHFL-1-106
name: Auriol-AHFL-1-106
model: Auriol-AHFL
manufacturer: rtl_433
- device_class: battery
name: Batterie
unit_of_measurement: '%'
value_template: '{{ float(value) * 99 + 1 }}'
state_class: measurement
entity_category: diagnostic
state_topic: rtl_433/sdr/devices/Vauno-EN8822C/1/244/battery_ok
unique_id: Vauno-EN8822C-1-244-B
device:
identifiers: Vauno-EN8822C-1-244
name: Vauno-EN8822C-1-244
model: Vauno-EN8822C
manufacturer: rtl_433
- device_class: temperature
name: Temperatur
unit_of_measurement: °C
value_template: '{{ value|float }}'
state_class: measurement
state_topic: rtl_433/sdr/devices/Vauno-EN8822C/1/244/temperature_C
unique_id: Vauno-EN8822C-1-244-T
device:
identifiers: Vauno-EN8822C-1-244
name: Vauno-EN8822C-1-244
model: Vauno-EN8822C
manufacturer: rtl_433
- device_class: humidity
name: Luftfeuchtigkeit
unit_of_measurement: '%'
value_template: '{{ value|float }}'
state_class: measurement
state_topic: rtl_433/sdr/devices/Vauno-EN8822C/1/244/humidity
unique_id: Vauno-EN8822C-1-244-H
device:
identifiers: Vauno-EN8822C-1-244
name: Vauno-EN8822C-1-244
model: Vauno-EN8822C
manufacturer: rtl_433