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:
parent
bbdb2b8ab4
commit
0ab81b30c7
@ -1,3 +1,5 @@
|
||||
view: yes
|
||||
entities:
|
||||
- group.alarmclock
|
||||
- sensor.temperature_1
|
||||
- sensor.humidity_1
|
||||
|
@ -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 }}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user