From b399512fd94de7b873c799a9f8b4118eb5809728 Mon Sep 17 00:00:00 2001 From: dfcarvajal Date: Sun, 21 Jul 2019 22:05:10 +0000 Subject: [PATCH] Ajustando lovelace --- .storage/lovelace | 319 +++++++++++++++++++++++++++++++++------------- 1 file changed, 233 insertions(+), 86 deletions(-) diff --git a/.storage/lovelace b/.storage/lovelace index c086cd5..74080fc 100644 --- a/.storage/lovelace +++ b/.storage/lovelace @@ -29,62 +29,21 @@ "badges": [], "cards": [ { - "entity": "sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power", - "max": 3400, - "min": 0, - "name": "Consumo Actual General", - "severity": { - "green": 200, - "red": 3000, - "yellow": 1000 - }, - "theme": "default", - "type": "gauge", - "unit": "W" - }, - { - "card": { - "title": "Personas en casa", - "type": "glance" - }, "entities": [ - "device_tracker.diego_android", - "device_tracker.diego_android_2", - "device_tracker.silvia_android", - "device_tracker.silvia_mi5", - "device_tracker.joaquin", - "device_tracker.berni", - "device_tracker.essential_phone" + { + "entity": "sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power", + "name": "Consumo el\u00e9ctrico" + }, + { + "entity": "sensor.temperatura_salon" + }, + { + "entity": "sensor.temperatura_exterior" + } ], - "show_empty": false, - "state_filter": [ - "home" - ], - "type": "entity-filter" - }, - { - "card": { - "title": "Dispositivos Activos", - "type": "glance" - }, - "entities": [ - "device_tracker.tv_living_room" - ], - "show_empty": false, - "state_filter": [ - "home" - ], - "type": "entity-filter" - }, - { - "entities": [ - "sensor.temperatura_salon", - "sensor.temperatura_exterior" - ], - "hours_to_show": 96, - "refresh_interval": 300, - "title": "Temperaturas", - "type": "history-graph" + "show_header_toggle": false, + "title": "Estados", + "type": "entities" }, { "entities": [ @@ -111,18 +70,6 @@ ], "type": "entity-filter" }, - { - "entities": [ - "cover.persiana_habitacion_principal", - "cover.persiana_habitacion_noha", - "cover.persiana_habitacion_mia", - "cover.persiana_habitacion_estudio", - "cover.persiana_salon_fase_dos", - "cover.persiana_salon_piscina" - ], - "name": "Persianas", - "type": "entities" - }, { "entities": [ "binary_sensor.movimiento_pasillo_entrada", @@ -155,6 +102,57 @@ "title": "Puertas", "type": "history-graph" }, + { + "entities": [ + { + "entity": "binary_sensor.movimiento_pasillo_entrada", + "name": "Entrada" + }, + { + "entity": "binary_sensor.movimiento_cocina", + "name": "Cocina" + }, + { + "entity": "binary_sensor.movimiento_salon_entrada", + "name": "Entrada Sal\u00f3n" + }, + { + "entity": "binary_sensor.movimiento_habitacion_principal", + "name": "H. Principal" + }, + { + "entity": "binary_sensor.movimiento_habitacion_noha", + "name": "H. Noha" + }, + { + "entity": "binary_sensor.movimiento_habitacion_mia", + "name": "H. Mia" + }, + { + "entity": "binary_sensor.movimiento_habitacion_estudio", + "name": "H. Estudio" + }, + { + "entity": "binary_sensor.movimiento_pasillo_habitaciones", + "name": "Pasillo H." + } + ], + "hours to show": 1, + "title": "Movimientos", + "type": "history-graph" + }, + { + "entities": [ + "cover.persiana_habitacion_principal", + "cover.persiana_habitacion_noha", + "cover.persiana_habitacion_mia", + "cover.persiana_habitacion_estudio", + "cover.persiana_salon_fase_dos", + "cover.persiana_salon_piscina" + ], + "name": "Persianas", + "type": "entities" + }, { "columns": 5, "entities": [ @@ -214,15 +212,6 @@ "title": "Interruptores Generales", "type": "glance" }, - { - "entities": [ - { - "entity": "sensor.wifi_opengateway_esp32" - } - ], - "show_header_toggle": false, - "type": "entities" - }, { "entity": "media_player.musica_en_casa", "type": "media-control" @@ -257,6 +246,21 @@ ], "title": "Aspiradora", "type": "entities" + }, + { + "entities": [ + { + "entity": "binary_sensor.openmqttgateway" + }, + { + "entity": "sensor.wifi_opengateway_esp32" + }, + { + "entity": "sensor.opengateway_lora" + } + ], + "show_header_toggle": false, + "type": "entities" } ], "icon": "mdi:home-minus", @@ -332,23 +336,45 @@ { "entities": [ { - "entity": "light.luz_habitacion_noha" + "entity": "binary_sensor.movimiento_habitacion_noha", + "name": null + } + ], + "hours_to_show": 1, + "type": "history-graph" + }, + { + "entities": [ + { + "entity": "light.luz_habitacion_noha", + "name": "Luz Principal" }, { - "entity": "binary_sensor.luz_habitacion_noha_nightlight" + "entity": "binary_sensor.luz_habitacion_noha_nightlight", + "name": "Modo Noche" + }, + { + "entity": "input_boolean.luz_habitacion_noha_noche", + "name": "Deshabilitar la luz para dormir" + }, + { + "entity": "timer.luzhabitacionnoha", + "name": "Temporizador" } ], "show_header_toggle": false, - "title": "Luz", + "title": "Luces", "type": "entities" }, { "entities": [ { - "entity": "cover.persiana_habitacion_noha" + "entity": "cover.persiana_habitacion_noha", + "name": "Persiana" }, { - "entity": "input_boolean.control_persiana_habitacion_noha" + "entity": "input_boolean.control_persiana_habitacion_noha", + "name": "Activar el control autom\u00e1tico" } ], "show_header_toggle": false, @@ -577,6 +603,11 @@ }, "type": "entity-button" }, + { + "entity": "plant.salon", + "name": "Plantas del sal\u00f3n", + "type": "plant-status" + }, { "entities": [ { @@ -587,6 +618,16 @@ "show_header_toggle": false, "title": "Interruptores", "type": "entities" + }, + { + "entities": [ + "sensor.temperatura_salon", + "sensor.temperatura_exterior" + ], + "hours_to_show": 96, + "refresh_interval": 300, + "title": "Temperaturas", + "type": "history-graph" } ], "icon": "mdi:sofa", @@ -662,6 +703,16 @@ { "badges": [], "cards": [ + { + "entities": [ + { + "entity": "binary_sensor.movimiento_bano_general" + } + ], + "show_header_toggle": false, + "title": "Movimiento Ba\u00f1o General", + "type": "entities" + }, { "entities": [ { @@ -669,15 +720,15 @@ "name": "Estado Interruptores" }, { - "entity": "switch.sonoffbanogeneral", + "entity": "light.luz_bano_general_principal", "name": "Luz Principal" }, { - "entity": "switch.sonoffbanogeneral2", + "entity": "light.luz_bano_general_secundaria", "name": "Luz Secundaria" } ], - "title": "Ba\u00f1o General", + "title": "Luces Ba\u00f1o General", "type": "entities" }, { @@ -687,11 +738,11 @@ "name": "Estado Interruptores" }, { - "entity": "switch.sonoffbanoprincipal", + "entity": "light.luz_bano_principal_principal", "name": "Luz Principal" }, { - "entity": "switch.sonoffbanoprincipal2", + "entity": "light.luz_bano_principal_secundaria", "name": "Luz Secundaria" } ], @@ -706,6 +757,20 @@ { "badges": [], "cards": [ + { + "entity": "sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power", + "max": 3400, + "min": 0, + "name": "Consumo Actual General", + "severity": { + "green": 200, + "red": 3000, + "yellow": 1000 + }, + "theme": "default", + "type": "gauge", + "unit": "W" + }, { "entities": [ "sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power" @@ -1120,6 +1185,9 @@ { "entity": "timer.luzhabitacionestudio" }, + { + "entity": "timer.luzhabitacionnoha" + }, { "entity": "timer.luzledcocina" }, @@ -1131,6 +1199,9 @@ }, { "entity": "timer.luzpasillosalon" + }, + { + "entity": "timer.luzbanogeneral" } ], "show_empty": true, @@ -1157,12 +1228,21 @@ { "entity": "zwave.qubino_zmnhtdx_smart_meter_s4_s5_s6" }, + { + "entity": "sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_unknown_2" + }, { "entity": "zwave.everspring_an158_plug_in_meter_appliance_module" }, { "entity": "zwave.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1" }, + { + "entity": "zwave.nodon_id_rf_asp_3_1_00_smart_plug" + }, + { + "entity": "zwave.nodon_id_rf_asp_3_1_00_smart_plug_2" + }, { "entity": "zwave.unknown_node_2" }, @@ -1233,6 +1313,42 @@ { "entity": "sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_unknown" }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_alarm_level" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_alarm_level_2" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_alarm_type" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_alarm_type_2" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_indicator" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_indicator_2" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_power_management" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_power_management_2" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_sourcenodeid" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_sourcenodeid_2" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_system" + }, + { + "entity": "sensor.nodon_id_rf_asp_3_1_00_smart_plug_system_2" + }, { "entity": "sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_previous_reading" }, @@ -1388,7 +1504,7 @@ "entity": "device_tracker.tv_samsung_7_series_55" } ], - "show_empty": false, + "show_empty": true, "state_filter": [ "not_home_disable", "home_disable" @@ -1515,6 +1631,37 @@ "disable" ], "type": "entity-filter" + }, + { + "card": { + "title": "Dispositivos ocultos", + "type": "glance" + }, + "entities": [ + { + "entity": "switch.nodon_id_rf_asp_3_1_00_smart_plug_switch" + }, + { + "entity": "switch.nodon_id_rf_asp_3_1_00_smart_plug_switch_2" + }, + { + "entity": "switch.sonoffbanogeneral" + }, + { + "entity": "switch.sonoffbanogeneral2" + }, + { + "entity": "switch.sonoffbanoprincipal" + }, + { + "entity": "switch.sonoffbanoprincipal2" + } + ], + "show_empty": false, + "state_filter": [ + "on" + ], + "type": "entity-filter" } ], "icon": "mdi:alert-decagram",