mirror of
https://github.com/Adam-Ant/home-assistant
synced 2024-11-12 14:56:21 +00:00
12 lines
325 B
YAML
12 lines
325 B
YAML
# Temp and Humidity Monitoring
|
|
- platform: mqtt
|
|
state_topic: 'tortoise/sensor1'
|
|
name: 'Temperature'
|
|
unit_of_measurement: '°C'
|
|
value_template: '{{ value_json.temperature }}'
|
|
- platform: mqtt
|
|
state_topic: 'tortoise/sensor1'
|
|
name: 'Humidity'
|
|
unit_of_measurement: '%'
|
|
value_template: '{{ value_json.humidity }}'
|