From 43ef4887983b2cb0d70daf3cc16ea0eef0f706b4 Mon Sep 17 00:00:00 2001 From: dfcarvajal Date: Mon, 9 Dec 2019 12:29:33 +0000 Subject: [PATCH] Dividido lovelace Fragmentado lovelace en varios ficheros --- lovelace/banos.yaml | 45 ++ lovelace/coches.yaml | 55 ++ lovelace/cocina.yaml | 62 +++ lovelace/consumos.yaml | 219 +++++--- lovelace/estado.yaml | 246 +++++++++ lovelace/estudio.yaml | 47 ++ lovelace/mia.yaml | 48 ++ lovelace/noha.yaml | 53 ++ lovelace/pasillo.yaml | 58 +++ lovelace/principal.yaml | 69 +++ lovelace/salon.yaml | 156 ++++++ lovelace/varios.yaml | 40 ++ ui-lovelace.yaml | 1099 +-------------------------------------- 13 files changed, 1050 insertions(+), 1147 deletions(-) create mode 100644 lovelace/banos.yaml create mode 100644 lovelace/coches.yaml create mode 100644 lovelace/cocina.yaml create mode 100644 lovelace/estado.yaml create mode 100644 lovelace/estudio.yaml create mode 100644 lovelace/mia.yaml create mode 100644 lovelace/noha.yaml create mode 100644 lovelace/pasillo.yaml create mode 100644 lovelace/principal.yaml create mode 100644 lovelace/salon.yaml create mode 100644 lovelace/varios.yaml diff --git a/lovelace/banos.yaml b/lovelace/banos.yaml new file mode 100644 index 0000000..23da2de --- /dev/null +++ b/lovelace/banos.yaml @@ -0,0 +1,45 @@ +badges: [] +cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_bano_general + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_bano_general + name: Movimiento Baño General + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_bano_principal + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_bano_principal + name: Movimiento Baño Principal + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: light.luz_bano_general_secundaria + name: Luz Secundaria + head: + entity: light.luz_bano_general_principal + name: Luz Baño General + type: 'custom:fold-entity-row' + - entities: + - entity: light.luz_bano_principal_secundaria + name: Luz Secundaria + head: + entity: light.luz_bano_principal_principal + name: Luz Baño Principal + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities +icon: 'mdi:shower' +path: banos +title: Baños diff --git a/lovelace/coches.yaml b/lovelace/coches.yaml new file mode 100644 index 0000000..c5ca5b0 --- /dev/null +++ b/lovelace/coches.yaml @@ -0,0 +1,55 @@ +badges: [] +cards: + - entities: + - entity: sensor.refresh_xee + icon: 'mdi:cookie' + name: Estado token XEE + show_header_toggle: false + type: entities + - cards: + - entities: + - entity: sensor.citroen_fecha_update + name: Hora de Actualización + - entity: sensor.citroen_combustible + name: Gasolina + - entity: sensor.citroen_bateria + name: Batería + - entity: sensor.citroen_velocidad + name: Velocidad + - entity: sensor.citroen_kilometros + name: Kilómetros + - entity: sensor.citroen_revoluciones + name: Revoluciones por Minuto + show_header_toggle: false + title: Citroen 2220HVZ + type: entities + - camera_image: camera.posicion_citroen + entities: [] + title: Posición del Citroen + type: picture-glance + type: vertical-stack + - cards: + - entities: + - entity: sensor.smart_fecha_update + name: Hora de Actualización + - entity: sensor.smart_bateria + name: Batería + - entity: sensor.smart_velocidad + name: Velocidad + - entity: sensor.smart_kilometros + name: Kilómetros + - entity: sensor.smart_revoluciones + name: Revoluciones por Minuto + show_header_toggle: false + title: Smart 8343 GMF + type: entities + - camera_image: camera.posicion_smart + entities: [] + title: Posición del Smart + type: picture-glance + type: vertical-stack +icon: 'mdi:car' +panel: false +path: vehiculos +title: Vehiculos + diff --git a/lovelace/cocina.yaml b/lovelace/cocina.yaml new file mode 100644 index 0000000..b0acd5a --- /dev/null +++ b/lovelace/cocina.yaml @@ -0,0 +1,62 @@ +badges: [] +cards: + - cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_cocina + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_cocina + name: Movimiento + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: binary_sensor.luz_cocina_principal_nightlight + name: Modo Noche + - entity: timer.luzcocinaprincipal + name: Temporizador + - entity: light.luz_cocina_led + name: Led Cocina + - entity: light.luz_cocina_tendedero + name: Luz Tendedero + head: + entity: light.luz_cocina_principal + name: Luz Techo + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entity: switch.popp_smoke_detector_and_siren_switch + icon: 'mdi:surround-sound' + name: Alarma de Humos + primary: + entity: binary_sensor.popp_smoke_detector_and_siren_sensor + name: Estado + toggle: true + type: 'custom:multiple-entity-row' + - entity: switch.everspring_an158_plug_in_meter_appliance_module_switch + icon: 'mdi:weather-windy' + name: Campana Extractora + primary: + entity: sensor.everspring_an158_plug_in_meter_appliance_module_power + name: Actual + secondary: + entity: sensor.everspring_an158_plug_in_meter_appliance_module_energy + name: Acumulado + toggle: true + type: 'custom:multiple-entity-row' + type: entities + - break + - entity: media_player.home_cocina + type: 'custom:mini-media-player' + layout: vertical + type: 'custom:layout-card' +icon: 'mdi:food-variant' +panel: true +path: cocina +title: Cocina diff --git a/lovelace/consumos.yaml b/lovelace/consumos.yaml index 3b5d952..5ba373c 100644 --- a/lovelace/consumos.yaml +++ b/lovelace/consumos.yaml @@ -1,77 +1,35 @@ 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 - hours_to_show: 48 - refresh_interval: 60 - title: Consumo 48 horas - type: history-graph - - entities: - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_current - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power_factor - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_energy - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_energy_2 - show_header_toggle: false - title: General Electricidad - type: entities - - entities: - - entity: sensor.consumo_varios_1 - name: UV1 - - entity: sensor.consumo_varios_2 - name: UV2 - - entity: sensor.consumo_humedos - name: Húmedos - - entity: sensor.consumo_horno - name: Horno - - entity: sensor.consumo_lavavajillas - name: Lavavajillas - - entity: sensor.consumo_lavadora - name: Lavadora - - entity: sensor.consumo_calefaccion - name: Calefacción - - entity: sensor.consumo_luces - name: Luces - - entity: sensor.consumo_persianas - name: Persianas - - entity: sensor.consumo_coche_electrico - name: Coche - title: Energía Consumida Actual - type: glance - - entities: - - entity: sensor.consumo_diario_varios_1 - name: UV1 - - entity: sensor.consumo_diario_varios_2 - name: UV2 - - entity: sensor.consumo_diario_humedos - name: Húmedos - - entity: sensor.consumo_diario_horno - name: Horno - - entity: sensor.consumo_diario_lavavajillas - name: Lavavajillas - - entity: sensor.consumo_diario_lavadora - name: Lavadora - - entity: sensor.consumo_diario_calefaccion - name: Calefacción - - entity: sensor.consumo_diario_luces - name: Luces - - entity: sensor.consumo_diario_persianas - name: Persianas - - entity: sensor.consumo_diario_coche_electrico - name: Coche - title: Energía Consumida Hoy - type: glance + - cards: + - entity: sensor.consumo_general + max: 3400 + min: 0 + name: Consumo Actual + severity: + green: 200 + red: 3000 + yellow: 1000 + theme: default + type: gauge + unit: W + - entities: + - entities: + - sensor.consumo_general + hours_to_show: 24 + type: 'custom:hui-history-graph-card' + - entity: sensor.consumo_general_factor_potencia + name: Factor Potencia + primary: + entity: sensor.consumo_general_potencia_activa + name: Activa + secondary: + entity: sensor.consumo_general_potencia_reactiva + name: Reactiva + hide_state: true + type: 'custom:multiple-entity-row' + head: sensor.consumo_general_amperios + type: 'custom:fold-entity-row' + type: vertical-stack - entities: - entity: sensor.consumo_calefaccion name: Calefacción @@ -83,6 +41,8 @@ cards: name: Persianas - entity: sensor.consumo_horno name: Horno + - entity: sensor.consumo_nevera + name: Nevera - entity: sensor.consumo_humedos name: Humedos - entity: sensor.consumo_lavavajillas @@ -97,6 +57,121 @@ cards: refresh_interval: 60 title: Consumos type: history-graph + - entities: + - entity: sensor.consumo_varios_1 + primary: + entity: sensor.consumo_diario_varios_1 + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_varios_1 + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_varios_2 + primary: + entity: sensor.consumo_diario_varios_2 + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_varios_2 + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_humedos + primary: + entity: sensor.consumo_diario_humedos + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_humedos + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_horno + primary: + entity: sensor.consumo_diario_horno + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_horno + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_nevera + primary: + entity: sensor.consumo_diario_nevera + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_nevera + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_lavavajillas + primary: + entity: sensor.consumo_diario_lavavajillas + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_lavavajillas + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_lavadora + primary: + entity: sensor.consumo_diario_lavadora + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_lavadora + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_calefaccion + primary: + entity: sensor.consumo_diario_calefaccion + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_calefaccion + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_luces + primary: + entity: sensor.consumo_diario_luces + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_luces + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_persianas + primary: + entity: sensor.consumo_diario_persianas + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_persianas + name: Integración + type: 'custom:multiple-entity-row' + - entity: sensor.consumo_coche_electrico + primary: + entity: sensor.consumo_diario_coche_electrico + name: Diario + secondary: + entity: sensor.consumo_diario_integracion_coche_electrico + name: Integración + type: 'custom:multiple-entity-row' + type: entities + show_header_toggle: false + title: Consumos Varios + - entities: + - sensor.consumo_general + - sensor.consumo_integrado_general + - sensor.periodo_consumo_diario_general_punta + - sensor.periodo_consumo_diario_general_valle + - sensor.periodo_consumo_mensual_general_punta + - sensor.periodo_consumo_mensual_general_valle + - sensor.consumo_diario_general + - sensor.consumo_mensual_general + type: entities + - entities: + - sensor.consumo_varios_2 + - sensor.periodo_consumo_diario_varios_2_punta + - sensor.periodo_consumo_diario_varios_2_valle + - sensor.periodo_consumo_mensual_varios_2_punta + - sensor.periodo_consumo_mensual_varios_2_valle + - sensor.consumo_bruto_diario_varios_2 + - sensor.consumo_bruto_mensual_varios_2 + - sensor.consumo_integrado_diario_varios_2 + - sensor.consumo_integrado_mensual_varios_2 + type: entities + icon: 'mdi:gauge' path: consumos title: Consumos + diff --git a/lovelace/estado.yaml b/lovelace/estado.yaml new file mode 100644 index 0000000..7343fa8 --- /dev/null +++ b/lovelace/estado.yaml @@ -0,0 +1,246 @@ +badges: [] +cards: + - cards: + - entities: + - entity: sensor.consumo_general + name: Consumo Eléctrico + - entities: + - sensor.temperatura_salon + - sensor.temperatura_exterior + - entities: + - sensor.temperatura_salon + - sensor.temperatura_exterior + hours_to_show: 96 + type: 'custom:hui-history-graph-card' + head: sensor.temperatura_salon + type: 'custom:fold-entity-row' + - entity: fan.purificador + name: Purificador de Aire + primary: + entity: input_select.calidad_del_aire + name: Calidad del Aire + toggle: true + type: 'custom:multiple-entity-row' + - entity: sensor.openweather_coslada + name: Tiempo Exterior + - entities: + - entities: + - entity: sensor.wireless_router_archer_c7_kbyte_sec_received + name: kbytes/sec recibidos + - entity: sensor.wireless_router_archer_c7_kbyte_sec_sent + name: kbytes/sec enviados + hours_to_show: 2 + type: 'custom:hui-history-graph-card' + head: + entity: sensor.wireless_router_archer_c7_kbyte_sec_received + hide_state: true + name: Tranferencia + primary: + entity: sensor.wireless_router_archer_c7_kbyte_sec_received + name: Recibido + secondary: + entity: sensor.wireless_router_archer_c7_kbyte_sec_sent + name: Enviado + type: 'custom:multiple-entity-row' + type: 'custom:fold-entity-row' + type: entities + - card: + title: Luces Encendidas & Desactivadas + type: entities + filter: + exclude: + - options: + secondary_info: last-changed + tap_action: + action: toggle + state: 'off' + include: + - domain: light + show_empty: false + type: 'custom:auto-entities' + - card: + title: Movimiento Activo + type: entities + filter: + include: + - entity_id: binary_sensor.mov* + options: + secondary_info: last-changed + state: 'on' + show_empty: false + type: 'custom:auto-entities' + - break + - entities: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_pasillo_entrada + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_pasillo_entrada + name: Entrada + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_cocina + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_cocina + name: Cocina + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_salon_entrada + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_salon_entrada + name: Entrada Salón + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_habitacion_principal + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_principal + name: H. Principal + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_habitacion_noha + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_noha + name: H. Noha + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_habitacion_mia + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_mia + name: H. Mia + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_habitacion_estudio + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_estudio + name: H. Estudio + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_pasillo_habitaciones + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_pasillo_habitaciones + name: P. Habitaciones + secondary_info: last-changed + type: 'custom:fold-entity-row' + head: + label: Movimientos + type: section + type: 'custom:fold-entity-row' + - entities: + - entities: + - entities: + - binary_sensor.puerta_entrada + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.puerta_entrada + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.puerta_tendedero + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.puerta_tendedero + secondary_info: last-changed + type: 'custom:fold-entity-row' + head: + label: Puertas + type: section + type: 'custom:fold-entity-row' + - entities: + - entity: cover.persiana_habitacion_principal + name: Principal + - entity: cover.persiana_habitacion_noha + name: Noha + - entity: cover.persiana_habitacion_mia + name: Mia + - entity: cover.persiana_habitacion_estudio + name: Estudio + - entity: cover.persiana_salon_fase_dos + name: Fase Dos + - entity: cover.persiana_salon_piscina + name: Piscina + group_config: + type: 'custom:slider-entity-row' + head: + label: Persianas + type: section + type: 'custom:fold-entity-row' + - entities: + - entity: switch.general_luces + icon: 'mdi:lightbulb' + name: Luces + - entity: switch.general_persianas + icon: 'mdi:plus-circle-multiple-outline' + name: Persianas + - entity: switch.varios_1 + icon: 'mdi:power-socket-eu' + name: Varios1 + - entity: switch.varios_2 + icon: 'mdi:power-socket-eu' + name: Varios2 + - entity: switch.humedos + icon: 'mdi:power-socket-eu' + name: Húmedos + - entity: switch.horno + icon: 'mdi:stove' + name: Horno + - entity: switch.general_caldera + icon: 'mdi:radiator' + name: Caldera + - entity: switch.lavavajillas + icon: 'mdi:amplifier' + name: Lavavajillas + - entity: switch.lavadora + icon: 'mdi:amplifier' + name: Lavavadora + - entity: switch.coche_electrico + icon: 'mdi:car' + name: Coche + head: + label: Interruptores Generales + type: section + type: 'custom:fold-entity-row' + show_header_toggle: false + title: Variados + type: entities + - entity: media_player.grupo_altavoces + type: 'custom:mini-media-player' + layout: vertical + type: 'custom:layout-card' +icon: 'mdi:home' +panel: true +path: default_view +title: Estado diff --git a/lovelace/estudio.yaml b/lovelace/estudio.yaml new file mode 100644 index 0000000..18803aa --- /dev/null +++ b/lovelace/estudio.yaml @@ -0,0 +1,47 @@ +badges: [] +cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_habitacion_estudio + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_estudio + name: Movimiento + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: binary_sensor.luz_habitacion_estudio_nightlight + name: Modo Noche + - entity: input_boolean.luz_habitacion_estudio_estudiar + name: Activar el control Automático + - entity: timer.luzhabitacionestudio + name: Temporizador + head: + entity: light.luz_habitacion_estudio + name: Luz Techo + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: input_boolean.control_persiana_habitacion_estudio + name: Activar el control automático + - entity: timer.persianahabitacionestudio + name: Temporizador + head: + entity: cover.persiana_habitacion_estudio + name: Persiana + type: 'custom:slider-entity-row' + type: 'custom:fold-entity-row' + - entity: binary_sensor.ventana_habitacion_estudio + name: Ventana + show_header_toggle: false + type: entities +icon: 'mdi:home-floor-3' +path: habestudio +title: Habitación Estudio diff --git a/lovelace/mia.yaml b/lovelace/mia.yaml new file mode 100644 index 0000000..d06d84d --- /dev/null +++ b/lovelace/mia.yaml @@ -0,0 +1,48 @@ +badges: [] +cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_habitacion_mia + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_mia + name: Movimiento + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: binary_sensor.luz_habitacion_mia_nightlight + name: Modo Noche + - entity: input_boolean.luz_habitacion_mia_noche + name: Deshabilitar la luz para dormir + - entity: timer.luzhabitacionmia + name: Temporizador + head: + entity: light.luz_habitacion_mia + name: Luz Techo + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: input_boolean.control_persiana_habitacion_mia + name: Activar el control automático + - entity: timer.persianahabitacionmia + name: Temporizador + head: + entity: cover.persiana_habitacion_mia + name: Persiana + type: 'custom:slider-entity-row' + type: 'custom:fold-entity-row' + - entity: binary_sensor.ventana_habitacion_mia + name: Ventana + show_header_toggle: false + type: entities +icon: 'mdi:home-floor-2' +path: habmia +title: Habitación Mia + diff --git a/lovelace/noha.yaml b/lovelace/noha.yaml new file mode 100644 index 0000000..03802d7 --- /dev/null +++ b/lovelace/noha.yaml @@ -0,0 +1,53 @@ +badges: [] +cards: + - cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_habitacion_noha + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_noha + name: Movimiento + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - 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 + head: + entity: light.luz_habitacion_noha + name: Luz Techo + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: input_boolean.control_persiana_habitacion_noha + name: Activar el control automático + - entity: timer.persianahabitacionnoha + name: Temporizador + head: + entity: cover.persiana_habitacion_noha + name: Persiana + type: 'custom:slider-entity-row' + type: 'custom:fold-entity-row' + - entity: binary_sensor.ventana_habitacion_noha + name: Ventana + show_header_toggle: false + type: entities + - break + layout: vertical + type: 'custom:layout-card' +icon: 'mdi:home-floor-1' +panel: true +path: habnoha +title: Habitación Noha + diff --git a/lovelace/pasillo.yaml b/lovelace/pasillo.yaml new file mode 100644 index 0000000..ee466b5 --- /dev/null +++ b/lovelace/pasillo.yaml @@ -0,0 +1,58 @@ +badges: [] +cards: + - cards: + - entities: + - buttons: true + entity: vacuum.xiaomi_vacuum_cleaner + image: /local/lovelace/home/xiaomi_vacuum_02.jpg + labels: + battery: Batería + filter: Filtro + main_brush: Cepillo Principal + mode: Modo + sensor: Sensor + side_brush: Cepillo Lateral + status: Estado + name: Xiaomi Vacuum + type: 'custom:xiaomi-vacuum-card' + - card: + head: + label: Luces + type: section + open: true + type: 'custom:fold-entity-row' + filter: + include: + - entity_id: light.luz_pasillo* + type: 'custom:auto-entities' + - card: + head: + label: Bluetooth + type: section + open: true + type: 'custom:fold-entity-row' + filter: + include: + - attributes: + scanner: NmapDeviceScanner + domain: device_tracker + options: + secondary_info: last-changed + type: 'custom:auto-entities' + type: entities + - break + - entities: + - entities: + - entity: sensor.wifi_opengateway_esp32 + - entity: sensor.opengateway_lora + head: + entity: binary_sensor.openmqttgateway + type: 'custom:fold-entity-row' + type: entities + layout: vertical + type: 'custom:layout-card' +icon: 'mdi:home-minus' +panel: true +path: pasillo +title: pasillo + diff --git a/lovelace/principal.yaml b/lovelace/principal.yaml new file mode 100644 index 0000000..d118085 --- /dev/null +++ b/lovelace/principal.yaml @@ -0,0 +1,69 @@ +badges: [] +cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_habitacion_principal + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_habitacion_principal + name: Movimiento + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: binary_sensor.luz_habitacion_principal_principal_nightlight + name: Modo Noche + - entity: input_boolean.luz_habitacion_principal_principal_noche + name: Deshabilitar la luz para dormir + - entity: timer.luzhabitacionprincipal + name: Temporizador + - entity: light.luz_habitacion_principal_entrada + name: Luz Entrada + - entity: light.luz_habitacion_principal_cabecero + name: Luz Cabecero + head: + entity: light.luz_habitacion_principal_principal + name: Luz Techo + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: input_boolean.control_persiana_habitacion_principal + name: Activar el control automático + - entity: timer.persianahabitacionprincipal + name: Temporizador + head: + entity: cover.persiana_habitacion_principal + name: Persiana + type: 'custom:slider-entity-row' + type: 'custom:fold-entity-row' + - entity: binary_sensor.ventana_habitacion_principal_pequena + name: Ventana Pequeña + - entity: binary_sensor.ventana_habitacion_principal_grande + name: Ventana Grande + show_header_toggle: false + type: entities + - artwork: cover + entity: media_player.hab_padres + hide: + power: true + power_state: true + shortcuts: + buttons: + - data: + entity_id: >- + switch.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_switch + icon: 'mdi:power' + id: switch.toggle + type: service + columns: 4 + type: 'custom:mini-media-player' +icon: 'mdi:home-plus' +path: habprincipal +title: Habitación Principal + diff --git a/lovelace/salon.yaml b/lovelace/salon.yaml new file mode 100644 index 0000000..d6913ae --- /dev/null +++ b/lovelace/salon.yaml @@ -0,0 +1,156 @@ +badges: [] +cards: + - cards: + - entities: + - entities: + - entities: + - binary_sensor.movimiento_salon_entrada + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_salon_entrada + name: Movimiento Entrada + secondary_info: last-changed + type: 'custom:fold-entity-row' + - entities: + - entities: + - binary_sensor.movimiento_salon_television + hours_to_show: 1 + type: 'custom:hui-history-graph-card' + head: + entity: binary_sensor.movimiento_salon_television + name: Movimiento Televisión + secondary_info: last-changed + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: binary_sensor.luz_salon_entrada_nightlight + name: Modo Noche + - entity: light.luz_salon_entrada_ambilight + name: Luz de Ambiente + - entity: timer.luzsalonentrada + name: Temporizador + head: + entity: light.luz_salon_entrada + name: Luz Entrada + type: 'custom:fold-entity-row' + - entities: + - entity: binary_sensor.luz_salon_television_nightlight + name: Modo Noche + - entity: light.luz_salon_television_ambilight + name: Luz de Ambiente + - entity: timer.luzsalontelevision + name: Temporizador + head: + entity: light.luz_salon_television + name: Luz Televisión + type: 'custom:fold-entity-row' + show_header_toggle: false + type: entities + - entities: + - entities: + - entity: input_boolean.control_persiana_salon_fase_dos + name: Activar el control automático + - entity: timer.persianafasedos + name: Temporizador + head: + entity: cover.persiana_salon_fase_dos + name: Persiana Fase Dos + type: 'custom:slider-entity-row' + type: 'custom:fold-entity-row' + - entity: binary_sensor.ventana_salon_fase_dos_grande + name: Ventana Fase Dos Grande + - entity: binary_sensor.ventana_salon_fase_dos_pequena + name: Ventana Fase Dos Pequeña + - entities: + - entity: input_boolean.control_persiana_salon_piscina + name: Activar el control automático + - entity: timer.persianapiscina + name: Temporizador + head: + entity: cover.persiana_salon_piscina + name: Persiana Piscina + type: 'custom:slider-entity-row' + type: 'custom:fold-entity-row' + - entity: binary_sensor.ventana_salon_piscina_grande + name: Ventana Piscina Grande + - entity: binary_sensor.ventana_salon_piscina_pequena + name: Ventana Piscina Pequeña + show_header_toggle: false + type: entities + - break + - columns: 3 + entities: + - entity: script.apagar_encender_humidificador + icon: 'mdi:power' + name: ON/OFF + - entity: script.mas_humidificador + icon: 'mdi:plus' + name: Más + - entity: script.menos_humidificador + icon: 'mdi:minus' + name: Menos + - entity: script.display_humidificador + icon: 'mdi:television' + name: Display + - entity: script.calentador_humidificador + icon: 'mdi:radiator' + name: Calentador + - entity: script.luz_humidificador + icon: 'mdi:lightbulb-outline' + name: Luz + - entity: script.control_humedad_humidificador + icon: 'mdi:cloud-outline' + name: Humedad + - entity: script.tiempo_humidificador + icon: 'mdi:clock' + name: Tiempo + - entity: script.niebla_humidificador + icon: 'mdi:shower-head' + name: Fuerza Niebla + show_state: false + title: Humidificador + type: glance + - entity: plant.salon + name: Plantas del salón + type: plant-status + - entities: + - entities: + - entity: switch.greenwave_reality_inc_powernode_6_port_switch_5 + name: Purificador de Aire + primary: + entity: sensor.greenwave_reality_inc_powernode_6_port_power_5 + name: Consumo + toggle: true + type: 'custom:multiple-entity-row' + - entity: switch.greenwave_reality_inc_powernode_6_port_switch_6 + name: Purificador de Aire + primary: + entity: sensor.greenwave_reality_inc_powernode_6_port_power_6 + name: Consumo + toggle: true + type: 'custom:multiple-entity-row' + - entity: switch.xiaomi_strip_2 + name: Regleta Principal Mueble + head: + label: Interruptores + type: section + type: 'custom:fold-entity-row' + type: entities + - entities: + - entity: media_player.television_salon + type: 'custom:mini-media-player' + - entity: media_player.google_cast + type: 'custom:mini-media-player' + - entity: input_boolean.bloqueo_multimedia + - entity: sensor.television_salon_encendida + type: entities + layout: vertical + type: 'custom:layout-card' +icon: 'mdi:sofa' +panel: true +path: salon +title: Salón + diff --git a/lovelace/varios.yaml b/lovelace/varios.yaml new file mode 100644 index 0000000..5b9f544 --- /dev/null +++ b/lovelace/varios.yaml @@ -0,0 +1,40 @@ +badges: + - binary_sensor.trabajo + - binary_sensor.colegio + - sun.sun + - sensor.db_size + - sensor.coste_ayer_tdh + - sensor.coste_ayer_tsdh + - sensor.season + - sensor.darksky_actual + - sensor.openweather_coslada +cards: + - entities: + - entity: switch.greenwave_reality_inc_powernode_6_port_switch_5 + name: Purificador de Aire + primary: + entity: sensor.greenwave_reality_inc_powernode_6_port_power_5 + name: Consumo + toggle: true + type: 'custom:multiple-entity-row' + - entity: switch.greenwave_reality_inc_powernode_6_port_switch_6 + name: Humidificador + primary: + entity: sensor.greenwave_reality_inc_powernode_6_port_power_6 + name: Consumo + toggle: true + type: 'custom:multiple-entity-row' + - entity: switch.xiaomi_strip_2 + name: Regleta Principal Mueble + head: + label: Interruptores + type: section + type: 'custom:fold-entity-row' + - entities: + - sensor.greenwave_reality_inc_powernode_6_port_power_5 + - sensor.greenwave_reality_inc_powernode_6_port_power_6 + hours to show: 96 + type: history-graph +icon: 'mdi:alert-decagram' +path: Varios +title: Varios diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index 014cf0e..7c1358a 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -1,30 +1,30 @@ resources: - type: module - url: /community_plugin/mini-media-player/mini-media-player.js + url: /local/community/mini-media-player/mini-media-player.js - type: module - url: /community_plugin/compact-custom-header/compact-custom-header.js + url: /local/community/compact-custom-header/compact-custom-header.js - type: js - url: /community_plugin/lovelace-xiaomi-vacuum-card/xiaomi-vacuum-card.js + url: /local/community/lovelace-xiaomi-vacuum-card/xiaomi-vacuum-card.js - type: js - url: /community_plugin/lovelace-slider-entity-row/slider-entity-row.js + url: /local/community/lovelace-slider-entity-row/slider-entity-row.js - type: js - url: /community_plugin/lovelace-layout-card/layout-card.js + url: /local/community/lovelace-layout-card/layout-card.js - type: js - url: /community_plugin/lovelace-multiple-entity-row/multiple-entity-row.js + url: /local/community/lovelace-multiple-entity-row/multiple-entity-row.js - type: js - url: /community_plugin/secondaryinfo-entity-row/secondaryinfo-entity-row.js + url: /local/community/secondaryinfo-entity-row/secondaryinfo-entity-row.js - type: js - url: /community_plugin/entity-attributes-card/entity-attributes-card.js + url: /local/community/entity-attributes-card/entity-attributes-card.js - type: js - url: /community_plugin/vertical-stack-in-card/vertical-stack-in-card.js + url: /local/community/vertical-stack-in-card/vertical-stack-in-card.js - type: js - url: /community_plugin/lovelace-card-tools/card-tools.js + url: /local/community/lovelace-card-tools/card-tools.js - type: js - url: /community_plugin/monster-card/monster-card.js + url: /local/community/monster-card/monster-card.js - type: js - url: /community_plugin/lovelace-fold-entity-row/fold-entity-row.js + url: /local/community/lovelace-fold-entity-row/fold-entity-row.js - type: js - url: /community_plugin/lovelace-auto-entities/auto-entities.js + url: /local/community/lovelace-auto-entities/auto-entities.js cch: swipe: true @@ -37,1066 +37,15 @@ cch: title: Hogar views: - - badges: [] - cards: - - cards: - - entities: - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_power - name: Consumo Eléctrico - - entities: - - sensor.temperatura_salon - - sensor.temperatura_exterior - - entities: - - sensor.temperatura_salon - - sensor.temperatura_exterior - hours_to_show: 96 - type: 'custom:hui-history-graph-card' - head: sensor.temperatura_salon - type: 'custom:fold-entity-row' - - entity: fan.xiaomi_miio_device - name: Purificador de Aire - primary: - entity: binary_sensor.popp_smoke_detector_and_siren_sensor - name: Calidad del Aire - toggle: true - type: 'custom:multiple-entity-row' - - entity: sensor.openweather_coslada - name: Tiempo Exterior - - entities: - - entities: - - entity: sensor.wireless_router_archer_c7_kbyte_sec_received - name: kbytes/sec recibidos - - entity: sensor.wireless_router_archer_c7_kbyte_sec_sent - name: kbytes/sec enviados - hours_to_show: 2 - type: 'custom:hui-history-graph-card' - head: - entity: sensor.wireless_router_archer_c7_kbyte_sec_received - hide_state: true - name: Tranferencia - primary: - entity: sensor.wireless_router_archer_c7_kbyte_sec_received - name: Recibido - secondary: - entity: sensor.wireless_router_archer_c7_kbyte_sec_sent - name: Enviado - type: 'custom:multiple-entity-row' - type: 'custom:fold-entity-row' - type: entities - - card: - title: Luces Encendidas & Desactivadas - type: entities - filter: - exclude: - - options: - secondary_info: last-changed - tap_action: - action: toggle - state: 'off' - include: - - domain: light - show_empty: false - type: 'custom:auto-entities' - - card: - title: Movimiento Activo - type: entities - filter: - include: - - entity_id: binary_sensor.mov* - options: - secondary_info: last-changed - state: 'on' - show_empty: false - type: 'custom:auto-entities' - - break - - entities: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_pasillo_entrada - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_pasillo_entrada - name: Entrada - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_cocina - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_cocina - name: Cocina - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_salon_entrada - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_salon_entrada - name: Entrada Salón - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_habitacion_principal - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_principal - name: H. Principal - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_habitacion_noha - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_noha - name: H. Noha - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_habitacion_mia - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_mia - name: H. Mia - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_habitacion_estudio - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_estudio - name: H. Estudio - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_pasillo_habitaciones - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_pasillo_habitaciones - name: P. Habitaciones - secondary_info: last-changed - type: 'custom:fold-entity-row' - head: - label: Movimientos - type: section - type: 'custom:fold-entity-row' - - entities: - - entities: - - entities: - - binary_sensor.puerta_entrada - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.puerta_entrada - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.puerta_tendedero - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.puerta_tendedero - secondary_info: last-changed - type: 'custom:fold-entity-row' - head: - label: Puertas - type: section - type: 'custom:fold-entity-row' - - entities: - - entity: cover.persiana_habitacion_principal - name: Principal - - entity: cover.persiana_habitacion_noha - name: Noha - - entity: cover.persiana_habitacion_mia - name: Mia - - entity: cover.persiana_habitacion_estudio - name: Estudio - - entity: cover.persiana_salon_fase_dos - name: Fase Dos - - entity: cover.persiana_salon_piscina - name: Piscina - group_config: - type: 'custom:slider-entity-row' - head: - label: Persianas - type: section - type: 'custom:fold-entity-row' - - entities: - - entity: switch.general_luces - icon: 'mdi:lightbulb' - name: Luces - - entity: switch.general_persianas - icon: 'mdi:plus-circle-multiple-outline' - name: Persianas - - entity: switch.varios_1 - icon: 'mdi:power-socket-eu' - name: Varios1 - - entity: switch.varios_2 - icon: 'mdi:power-socket-eu' - name: Varios2 - - entity: switch.humedos - icon: 'mdi:power-socket-eu' - name: Húmedos - - entity: switch.horno - icon: 'mdi:stove' - name: Horno - - entity: switch.general_caldera - icon: 'mdi:radiator' - name: Caldera - - entity: switch.lavavajillas - icon: 'mdi:amplifier' - name: Lavavajillas - - entity: switch.lavadora - icon: 'mdi:amplifier' - name: Lavavadora - - entity: switch.coche_electrico - icon: 'mdi:car' - name: Coche - head: - label: Interruptores Generales - type: section - type: 'custom:fold-entity-row' - show_header_toggle: false - title: Variados - type: entities - - entity: media_player.grupo_altavoces - type: 'custom:mini-media-player' - layout: vertical - type: 'custom:layout-card' - icon: 'mdi:home' - panel: true - path: default_view - title: Estado - - badges: [] - cards: - - buttons: true - entity: vacuum.xiaomi_vacuum_cleaner - image: /local/lovelace/home/xiaomi_vacuum_02.jpg - labels: - battery: Batería - filter: Filtro - main_brush: Cepillo Principal - mode: Modo - sensor: Sensor - side_brush: Cepillo Lateral - status: Estado - name: Xiaomi Vacuum - type: 'custom:xiaomi-vacuum-card' - - card: - head: - label: Luces - type: section - type: 'custom:fold-entity-row' - filter: - include: - - entity_id: light.luz_pasillo* - type: 'custom:auto-entities' - - entities: - - entities: - - entity: sensor.wifi_opengateway_esp32 - - entity: sensor.opengateway_lora - head: - entity: binary_sensor.openmqttgateway - type: 'custom:fold-entity-row' - type: entities - - card: - show_header_toggle: false - title: Dispositivos - type: entities - filter: - include: - - attributes: - scanner: NmapDeviceScanner - domain: device_tracker - options: - secondary_info: last-changed - type: 'custom:auto-entities' - icon: 'mdi:home-minus' - path: pasillo - title: pasillo - - badges: [] - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_habitacion_principal - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_principal - name: Movimiento - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: binary_sensor.luz_habitacion_principal_techo_nightlight - name: Modo Noche - - entity: input_boolean.luz_habitacion_principal_techo_noche - name: Deshabilitar la luz para dormir - - entity: timer.luzhabitacionprincipal - name: Temporizador - - entity: light.luz_habitacion_principal_entrada - name: Luz Entrada - - entity: light.luz_habitacion_principal_cabecero - name: Luz Cabecero - head: - entity: light.luz_habitacion_principal_techo - name: Luz Techo - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: input_boolean.control_persiana_habitacion_principal - name: Activar el control automático - - entity: timer.persianahabitacionprincipal - name: Temporizador - head: - entity: cover.persiana_habitacion_principal - name: Persiana - type: 'custom:slider-entity-row' - type: 'custom:fold-entity-row' - - entity: binary_sensor.ventana_habitacion_principal_pequena - name: Ventana Pequeña - - entity: binary_sensor.ventana_habitacion_principal_grande - name: Ventana Grande - show_header_toggle: false - type: entities - - artwork: cover - entity: media_player.hab_padres - hide: - power: true - power_state: true - shortcuts: - buttons: - - data: - entity_id: >- - switch.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_switch - icon: 'mdi:power' - id: switch.toggle - type: service - columns: 4 - type: 'custom:mini-media-player' - icon: 'mdi:home-plus' - path: habprincipal - title: Habitación Principal - - badges: [] - cards: - - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_habitacion_noha - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_noha - name: Movimiento - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - 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 - head: - entity: light.luz_habitacion_noha - name: Luz Techo - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: input_boolean.control_persiana_habitacion_noha - name: Activar el control automático - - entity: timer.persianahabitacionnoha - name: Temporizador - head: - entity: cover.persiana_habitacion_noha - name: Persiana - type: 'custom:slider-entity-row' - type: 'custom:fold-entity-row' - - entity: binary_sensor.ventana_habitacion_noha - name: Ventana - show_header_toggle: false - type: entities - - break - layout: vertical - type: 'custom:layout-card' - icon: 'mdi:home-floor-1' - panel: true - path: habnoha - title: Habitación Noha - - badges: [] - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_habitacion_mia - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_mia - name: Movimiento - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: binary_sensor.luz_habitacion_mia_nightlight - name: Modo Noche - - entity: input_boolean.luz_habitacion_mia_noche - name: Deshabilitar la luz para dormir - - entity: timer.luzhabitacionmia - name: Temporizador - head: - entity: light.luz_habitacion_mia - name: Luz Techo - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: input_boolean.control_persiana_habitacion_mia - name: Activar el control automático - - entity: timer.persianahabitacionmia - name: Temporizador - head: - entity: cover.persiana_habitacion_mia - name: Persiana - type: 'custom:slider-entity-row' - type: 'custom:fold-entity-row' - - entity: binary_sensor.ventana_habitacion_mia - name: Ventana - show_header_toggle: false - type: entities - icon: 'mdi:home-floor-2' - path: habmia - title: Habitación Mia - - badges: [] - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_habitacion_estudio - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_habitacion_estudio - name: Movimiento - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: binary_sensor.luz_habitacion_estudio_nightlight - name: Modo Noche - - entity: input_boolean.luz_habitacion_estudio_estudiar - name: Activar el control Automático - - entity: timer.luzhabitacionestudio - name: Temporizador - head: - entity: light.luz_habitacion_estudio - name: Luz Techo - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: input_boolean.control_persiana_habitacion_estudio - name: Activar el control automático - - entity: timer.persianahabitacionestudio - name: Temporizador - head: - entity: cover.persiana_habitacion_estudio - name: Persiana - type: 'custom:slider-entity-row' - type: 'custom:fold-entity-row' - - entity: binary_sensor.ventana_habitacion_estudio - name: Ventana - show_header_toggle: false - type: entities - icon: 'mdi:home-floor-3' - path: habestudio - title: Habitación Estudio - - badges: [] - cards: - - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_salon_entrada - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_salon_entrada - name: Movimiento Entrada - secondary_info: last-changed - type: 'custom:fold-entity-row' - - entities: - - entities: - - binary_sensor.movimiento_salon_television - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_salon_television - name: Movimiento Televisión - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: binary_sensor.luz_salon_entrada_nightlight - name: Modo Noche - - entity: light.luz_salon_entrada_ambilight - name: Luz de Ambiente - - entity: timer.luzsalonentrada - name: Temporizador - head: - entity: light.luz_salon_entrada - name: Luz Entrada - type: 'custom:fold-entity-row' - - entities: - - entity: binary_sensor.luz_salon_television_nightlight - name: Modo Noche - - entity: light.luz_salon_television_ambilight - name: Luz de Ambiente - - entity: timer.luzsalontelevision - name: Temporizador - head: - entity: light.luz_salon_television - name: Luz Televisión - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: input_boolean.control_persiana_salon_fase_dos - name: Activar el control automático - - entity: timer.persianafasedos - name: Temporizador - head: - entity: cover.persiana_salon_fase_dos - name: Persiana Fase Dos - type: 'custom:slider-entity-row' - type: 'custom:fold-entity-row' - - entity: binary_sensor.ventana_salon_fase_dos_grande - name: Ventana Fase Dos Grande - - entity: binary_sensor.ventana_salon_fase_dos_pequena - name: Ventana Fase Dos Pequeña - - entities: - - entity: input_boolean.control_persiana_salon_piscina - name: Activar el control automático - - entity: timer.persianapiscina - name: Temporizador - head: - entity: cover.persiana_salon_piscina - name: Persiana Piscina - type: 'custom:slider-entity-row' - type: 'custom:fold-entity-row' - - entity: binary_sensor.ventana_salon_piscina_grande - name: Ventana Piscina Grande - - entity: binary_sensor.ventana_salon_piscina_pequena - name: Ventana Piscina Pequeña - show_header_toggle: false - type: entities - - break - - columns: 3 - entities: - - entity: script.apagar_encender_humidificador - icon: 'mdi:power' - name: ON/OFF - - entity: script.mas_humidificador - icon: 'mdi:plus' - name: Más - - entity: script.menos_humidificador - icon: 'mdi:minus' - name: Menos - - entity: script.display_humidificador - icon: 'mdi:television' - name: Display - - entity: script.calentador_humidificador - icon: 'mdi:radiator' - name: Calentador - - entity: script.luz_humidificador - icon: 'mdi:lightbulb-outline' - name: Luz - - entity: script.control_humedad_humidificador - icon: 'mdi:cloud-outline' - name: Humedad - - entity: script.tiempo_humidificador - icon: 'mdi:clock' - name: Tiempo - - entity: script.niebla_humidificador - icon: 'mdi:shower-head' - name: Fuerza Niebla - show_state: false - title: Humidificador - type: glance - - entity: plant.salon - name: Plantas del salón - type: plant-status - - entities: - - entities: - - entity: switch.greenwave_reality_inc_powernode_6_port_switch_5 - name: Purificador de Aire - primary: - entity: sensor.greenwave_reality_inc_powernode_6_port_power_5 - name: Consumo - toggle: true - type: 'custom:multiple-entity-row' - - entity: switch.greenwave_reality_inc_powernode_6_port_switch_6 - name: Purificador de Aire - primary: - entity: sensor.greenwave_reality_inc_powernode_6_port_power_6 - name: Consumo - toggle: true - type: 'custom:multiple-entity-row' - - entity: switch.xiaomi_strip_2 - name: Regleta Principal Mueble - head: - label: Interruptores - type: section - type: 'custom:fold-entity-row' - type: entities - - entities: - - entity: media_player.television_salon - type: 'custom:mini-media-player' - - entity: media_player.google_cast - type: 'custom:mini-media-player' - type: entities - layout: vertical - type: 'custom:layout-card' - icon: 'mdi:sofa' - panel: true - path: salon - title: Salón - - badges: [] - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_cocina - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_cocina - name: Movimiento - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: binary_sensor.luz_cocina_nightlight - name: Modo Noche - - entity: timer.luzcocina - name: Temporizador - - entity: light.led_cocina - name: Led Cocina - - entity: light.luz_tendedero - name: Luz Tendedero - head: - entity: light.luz_cocina - name: Luz Techo - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entity: switch.popp_smoke_detector_and_siren_switch - icon: 'mdi:surround-sound' - name: Alarma de Humos - primary: - entity: binary_sensor.popp_smoke_detector_and_siren_sensor - name: Estado - toggle: true - type: 'custom:multiple-entity-row' - - entity: switch.everspring_an158_plug_in_meter_appliance_module_switch - icon: 'mdi:weather-windy' - name: Campana Extractora - primary: - entity: sensor.everspring_an158_plug_in_meter_appliance_module_power - name: Actual - secondary: - entity: sensor.everspring_an158_plug_in_meter_appliance_module_energy - name: Acumulado - toggle: true - type: 'custom:multiple-entity-row' - type: entities - - entity: media_player.home_cocina - type: 'custom:mini-media-player' - icon: 'mdi:food-variant' - panel: false - path: cocina - title: Cocina - - badges: [] - cards: - - entities: - - entities: - - entities: - - binary_sensor.movimiento_bano_general - hours_to_show: 1 - type: 'custom:hui-history-graph-card' - head: - entity: binary_sensor.movimiento_bano_general - name: Movimiento Baño General - secondary_info: last-changed - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - - entities: - - entities: - - entity: light.luz_bano_general_secundaria - name: Luz Secundaria - head: - entity: light.luz_bano_general_principal - name: Luz Baño General - type: 'custom:fold-entity-row' - - entities: - - entity: light.luz_bano_principal_secundaria - name: Luz Secundaria - head: - entity: light.luz_bano_principal_principal - name: Luz Baño Principal - type: 'custom:fold-entity-row' - show_header_toggle: false - type: entities - icon: 'mdi:shower' - path: banos - title: Baños - - badges: [] - cards: - - entities: - - entity: sensor.refresh_xee - icon: 'mdi:cookie' - name: Estado token XEE - show_header_toggle: false - type: entities - - cards: - - entities: - - entity: sensor.citroen_fecha_update - name: Hora de Actualización - - entity: sensor.citroen_combustible - name: Gasolina - - entity: sensor.citroen_bateria - name: Batería - - entity: sensor.citroen_velocidad - name: Velocidad - - entity: sensor.citroen_kilometros - name: Kilómetros - - entity: sensor.citroen_revoluciones - name: Revoluciones por Minuto - show_header_toggle: false - title: Citroen 2220HVZ - type: entities - - camera_image: camera.posicion_citroen - entities: [] - title: Posición del Citroen - type: picture-glance - type: vertical-stack - - cards: - - entities: - - entity: sensor.smart_fecha_update - name: Hora de Actualización - - entity: sensor.smart_bateria - name: Batería - - entity: sensor.smart_velocidad - name: Velocidad - - entity: sensor.smart_kilometros - name: Kilómetros - - entity: sensor.smart_revoluciones - name: Revoluciones por Minuto - show_header_toggle: false - title: Smart 8343 GMF - type: entities - - camera_image: camera.posicion_smart - entities: [] - title: Posición del Smart - type: picture-glance - type: vertical-stack - icon: 'mdi:car' - panel: false - path: vehiculos - title: Vehiculos + - !include /config/lovelace/estado.yaml + - !include /config/lovelace/pasillo.yaml + - !include /config/lovelace/principal.yaml + - !include /config/lovelace/noha.yaml + - !include /config/lovelace/mia.yaml + - !include /config/lovelace/estudio.yaml + - !include /config/lovelace/salon.yaml + - !include /config/lovelace/cocina.yaml + - !include /config/lovelace/banos.yaml + - !include /config/lovelace/coches.yaml - !include /config/lovelace/consumos.yaml - - badges: - - binary_sensor.trabajo - - binary_sensor.colegio - - sun.sun - - sensor.db_size - - sensor.coste_ayer_tdh - - sensor.coste_ayer_tsdh - - sensor.season - - sensor.darksky_actual - - sensor.openweather_coslada - cards: - - card: - title: Automatizaciones - type: glance - entities: - - entity: automation.recibir_mensajes_de_ifttt_para_vacuum - show_empty: true - state_filter: - - stanby - type: entity-filter - - card: - title: Temporizadores - type: glance - entities: - - entity: timer.luzhabitacionestudio - - entity: timer.luzhabitacionnoha - - entity: timer.luzledcocina - - entity: timer.luzcocina - - entity: timer.luzpasilloestudio - - entity: timer.luzpasillosalon - - entity: timer.luzbanogeneral - show_empty: true - state_filter: - - active - type: entity-filter - - card: - title: Zwave - type: glance - entities: - - entity: zwave.aeotec_zw090_z_stick_gen5_eu - - entity: zwave.kaipule_pir_celling_sensor - - entity: zwave.popp_smoke_detector_and_siren - - 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 - - entity: zwave.unknown_node_8 - show_empty: true - state_filter: - - initializing - type: entity-filter - - card: - title: Zwave Dispositivos - type: glance - entities: - - entity: sensor.kaipule_pir_celling_sensor_alarm_level - - entity: sensor.kaipule_pir_celling_sensor_alarm_type - - entity: sensor.kaipule_pir_celling_sensor_burglar - - entity: sensor.kaipule_pir_celling_sensor_sourcenodeid - - entity: sensor.popp_smoke_detector_and_siren_alarm_level - - entity: sensor.popp_smoke_detector_and_siren_alarm_type - - entity: sensor.popp_smoke_detector_and_siren_smoke - - entity: sensor.popp_smoke_detector_and_siren_sourcenodeid - - entity: >- - sensor.everspring_an158_plug_in_meter_appliance_module_previous_reading - - entity: >- - sensor.everspring_an158_plug_in_meter_appliance_module_previous_reading_2 - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_previous_reading - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_previous_reading_2 - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_previous_reading_3 - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_previous_reading_5 - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_previous_reading_4 - - entity: sensor.qubino_zmnhtdx_smart_meter_s4_s5_s6_voltage - - 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 - - entity: >- - sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_previous_reading_2 - - entity: >- - sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_current - - entity: >- - sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_energy - - entity: >- - sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_power - - entity: >- - sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_power_factor - - entity: >- - sensor.philio_technology_corporation_pan03_switch_module_with_meter_3_kw_x1_voltage - show_empty: true - state_filter: - - ready - type: entity-filter - - card: - title: Coches - type: glance - entities: - - entity: sensor.citroen_status - - entity: camera.posicion_citroen - - entity: sensor.citroen_latitud - - entity: sensor.citroen_longitud - - entity: sensor.smart_status - - entity: camera.posicion_smart - - entity: sensor.smart_latitud - - entity: sensor.smart_longitud - - entity: sensor.smart_status - show_empty: true - state_filter: - - stanby - type: entity-filter - - card: - title: Grupos - type: glance - entities: - - entity: group.all_automations - - entity: group.all_devices - - entity: group.all_lights - - entity: group.all_scripts - - entity: group.all_switches - - entity: group.all_covers - - entity: group.all_fans - - entity: group.all_vacuum_cleaners - show_empty: true - state_filter: - - stanby - type: entity-filter - - card: - title: Wireless Archer V7 - type: glance - entities: - - entity: sensor.wireless_router_archer_c7_bytes_received - - entity: sensor.wireless_router_archer_c7_bytes_sent - - entity: sensor.wireless_router_archer_c7_packets_received - - entity: sensor.wireless_router_archer_c7_packets_sent - - entity: sensor.wireless_router_archer_c7_packets_sec_received - - entity: sensor.wireless_router_archer_c7_packets_sec_sent - show_empty: true - state_filter: - - 'on' - type: entity-filter - - card: - title: Bluetooth Externos - type: glance - entities: - - entity: device_tracker.bluedio_bs_6 - - entity: device_tracker.huawei_p8_lite_2017 - - entity: device_tracker.huawei_y5_2018 - - entity: device_tracker.tv_samsung_7_series_55 - show_empty: true - state_filter: - - not_home_disable - - home_disable - type: entity-filter - - card: - title: Sonoff Valores sin Uso - type: glance - entities: - - entity: sensor.sonoffhorno_energy_apparentpower - - entity: sensor.sonoffhorno_energy_current - - entity: sensor.sonoffhorno_energy_factor - - entity: sensor.sonoffhorno_energy_reactivepower - - entity: sensor.sonoffhorno_energy_totalstarttim - - entity: sensor.sonoffhorno_energy_voltage - - entity: sensor.sonoffhumedos_energy_apparentpow - - entity: sensor.sonoffhumedos_energy_current - - entity: sensor.sonoffhumedos_energy_factor - - entity: sensor.sonoffhumedos_energy_reactivepow - - entity: sensor.sonoffhumedos_energy_totalstartt - - entity: sensor.sonoffhumedos_energy_voltage - - entity: sensor.sonoffuv1_energy_apparentpower - - entity: sensor.sonoffuv1_energy_current - - entity: sensor.sonoffuv1_energy_factor - - entity: sensor.sonoffuv1_energy_reactivepower - - entity: sensor.sonoffuv1_energy_totalstarttime - - entity: sensor.sonoffuv1_energy_voltage - - entity: sensor.sonoffuv2_energy_apparentpower - - entity: sensor.sonoffuv2_energy_current - - entity: sensor.sonoffuv2_energy_factor - - entity: sensor.sonoffuv2_energy_reactivepower - - entity: sensor.sonoffuv2_energy_totalstarttime - - entity: sensor.sonoffuv2_energy_voltage - - entity: sensor.sonofflavavajillas_energy_appare - - entity: sensor.sonofflavavajillas_energy_curren - - entity: sensor.sonofflavavajillas_energy_factor - - entity: sensor.sonofflavavajillas_energy_reacti - - entity: sensor.sonofflavavajillas_energy_totals - - entity: sensor.sonofflavavajillas_energy_voltag - - entity: sensor.sonofflavadora_energy_apparentpower - - entity: sensor.sonofflavadora_energy_current - - entity: sensor.sonofflavadora_energy_factor - - entity: sensor.sonofflavadora_energy_reactivepower - - entity: sensor.sonofflavadora_energy_totalstarttime - - entity: sensor.sonofflavadora_energy_voltage - show_empty: true - state_filter: - - 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 - - entities: - - entity: switch.greenwave_reality_inc_powernode_6_port_switch_5 - name: Purificador de Aire - primary: - entity: sensor.greenwave_reality_inc_powernode_6_port_power_5 - name: Consumo - toggle: true - type: 'custom:multiple-entity-row' - - entity: switch.greenwave_reality_inc_powernode_6_port_switch_6 - name: Humidificador - primary: - entity: sensor.greenwave_reality_inc_powernode_6_port_power_6 - name: Consumo - toggle: true - type: 'custom:multiple-entity-row' - - entity: switch.xiaomi_strip_2 - name: Regleta Principal Mueble - head: - label: Interruptores - type: section - type: 'custom:fold-entity-row' - - entities: - - sensor.greenwave_reality_inc_powernode_6_port_power_5 - - sensor.greenwave_reality_inc_powernode_6_port_power_6 - hours to show: 96 - type: history-graph - icon: 'mdi:alert-decagram' - path: Varios - title: Varios + - !include /config/lovelace/varios.yaml