diff --git a/.storage/lovelace b/.storage/lovelace index ee71531..196a3f8 100644 --- a/.storage/lovelace +++ b/.storage/lovelace @@ -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", diff --git a/packages/sensor/temperatura_salon.yaml b/packages/sensor/temperatura_salon.yaml new file mode 100644 index 0000000..37d97eb --- /dev/null +++ b/packages/sensor/temperatura_salon.yaml @@ -0,0 +1,6 @@ +sensor: + - platform: template + sensors: + temperatura_salon: + value_template: "{{state_attr('fan.xiaomi_miio_device_2', 'temperature')}}" + unit_of_measurement: ÂșC