1
0
mirror of https://github.com/Adam-Ant/home-assistant synced 2024-11-08 13:16:21 +00:00

Add second temperature sensor, add to home screen

This commit is contained in:
Adam Dodman 2016-12-10 18:21:19 +00:00
parent bbdb2b8ab4
commit 0ab81b30c7
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,5 @@
view: yes
entities:
- group.alarmclock
- sensor.temperature_1
- sensor.humidity_1

View File

@ -1,11 +1,23 @@
# Temp and Humidity Monitoring
- platform: mqtt
state_topic: 'tortoise/sensor1'
name: 'Temperature'
name: 'Temperature 1'
unit_of_measurement: '°C'
value_template: '{{ value_json.temperature }}'
- platform: mqtt
state_topic: 'tortoise/sensor1'
name: 'Humidity'
name: 'Humidity 1'
unit_of_measurement: '%'
value_template: '{{ value_json.humidity }}'
- platform: mqtt
state_topic: 'tortoise/sensor2'
name: 'Temperature 2'
unit_of_measurement: '°C'
value_template: '{{ value_json.temperature }}'
- platform: mqtt
state_topic: 'tortoise/sensor2'
name: 'Humidity 2'
unit_of_measurement: '%'
value_template: '{{ value_json.humidity }}'