Fix Lovelace temperaturas

Añadidas temperaturas en el home de lovelace
This commit is contained in:
dfcarvajal
2019-06-23 22:02:58 +00:00
parent e079d2b605
commit 93d063cae5
2 changed files with 17 additions and 6 deletions

View File

@@ -28,8 +28,7 @@
{
"badges": [
"sensor.darksky_actual",
"sensor.openweather_coslada",
"sensor.temperatura_exterior"
"sensor.openweather_coslada"
],
"cards": [
{
@@ -79,6 +78,16 @@
],
"type": "entity-filter"
},
{
"entities": [
"sensor.temperatura_salon",
"sensor.temperatura_exterior"
],
"hours_to_show": 96,
"refresh_interval": 300,
"title": "Temperaturas",
"type": "history-graph"
},
{
"entities": [
"light.luz_tendedero",
@@ -205,10 +214,6 @@
],
"show_header_toggle": false,
"type": "entities"
},
{
"entity": "media_player.musica_en_casa",
"type": "media-control"
}
],
"icon": "mdi:home",

View File

@@ -0,0 +1,6 @@
sensor:
- platform: template
sensors:
temperatura_salon:
value_template: "{{state_attr('fan.xiaomi_miio_device_2', 'temperature')}}"
unit_of_measurement: ºC