Fix Lovelace temperaturas
Añadidas temperaturas en el home de lovelace
This commit is contained in:
@@ -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",
|
||||
|
||||
6
packages/sensor/temperatura_salon.yaml
Normal file
6
packages/sensor/temperatura_salon.yaml
Normal 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
|
||||
Reference in New Issue
Block a user