1606 lines
51 KiB
YAML
1606 lines
51 KiB
YAML
kiosk_mode:
|
|
hide_header: false
|
|
views:
|
|
- theme: Rosé Pine
|
|
type: custom:vertical-layout
|
|
title: Salón
|
|
path: menjador
|
|
icon: mdi:sofa
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temperatura
|
|
icon: mdi:thermometer
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_menjador_zigbee_temperature
|
|
name: Temperatura
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#769ED5'
|
|
- value: 5
|
|
color: '#89ADDC'
|
|
- value: 10
|
|
color: '#F4D862'
|
|
- value: 15
|
|
color: '#F7B52D'
|
|
- value: 20
|
|
color: '#EF7410'
|
|
- value: 25
|
|
color: '#E84B1A'
|
|
- value: 30
|
|
color: '#D2270F'
|
|
- value: 35
|
|
color: '#C40607'
|
|
- value: 40
|
|
color: '#700318'
|
|
- value: 45
|
|
color: '#4F000F'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_menjador_zigbee_humidity
|
|
name: Humitat
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Llums
|
|
icon: mdi:lightbulb
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_menjador_sofa_zigbee
|
|
name: Luz Sofa
|
|
fill_container: true
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
show_color_temp_control: true
|
|
show_color_control: true
|
|
collapsible_controls: false
|
|
icon_color: disabled
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_menjador_lectura_tuya
|
|
name: Luz Salón
|
|
fill_container: true
|
|
show_brightness_control: true
|
|
use_light_color: true
|
|
show_color_control: true
|
|
show_color_temp_control: false
|
|
collapsible_controls: false
|
|
icon_color: disabled
|
|
- square: false
|
|
columns: 3
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_menjador1_zigbee
|
|
name: Luz 1
|
|
fill_container: true
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
show_color_temp_control: false
|
|
show_color_control: true
|
|
collapsible_controls: false
|
|
icon_color: disabled
|
|
- type: custom:mushroom-light-card
|
|
entity: light.0xa4c1384e2d7a7708
|
|
name: Luz Salón
|
|
fill_container: true
|
|
show_brightness_control: true
|
|
use_light_color: true
|
|
show_color_control: true
|
|
show_color_temp_control: false
|
|
collapsible_controls: false
|
|
icon_color: disabled
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_menjador3_tuya
|
|
name: Luz Salón
|
|
fill_container: true
|
|
show_brightness_control: true
|
|
use_light_color: true
|
|
show_color_control: true
|
|
show_color_temp_control: false
|
|
collapsible_controls: false
|
|
icon_color: disabled
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Endolls
|
|
icon: mdi:power-plug
|
|
- square: true
|
|
type: horizontal-stack
|
|
cards:
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: switch.smartplug_salon_vacuum_tuya
|
|
icon: mdi:power-plug
|
|
name: Enchufe MayorMono
|
|
theme: Mushroom Square Shadow
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: switch.smartplug_salon_tv_tuya
|
|
name: TV
|
|
icon: mdi:television
|
|
columns: 2
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Calefacció
|
|
icon: mdi:heating-coil
|
|
card_layout: normal
|
|
sub_button: []
|
|
- type: custom:better-thermostat-ui-card
|
|
entity: climate.termostat_menjador_zigbee
|
|
disable_window: false
|
|
disable_summer: false
|
|
disable_eco: false
|
|
disable_heat: false
|
|
disable_off: false
|
|
disable_menu: false
|
|
disable_battery_warning: false
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: >-
|
|
Temp: {{ state_attr('climate.termostat_menjador_zigbee',
|
|
'current_temperature') }} ℃
|
|
secondary: >-
|
|
Nova Temp:
|
|
|
|
{{ state_attr('climate.termostat_menjador_zigbee',
|
|
'current_heating_setpoint') }} ℃
|
|
icon: mdi:thermostat-box
|
|
entity: climate.termostat_menjador_zigbee
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_boolean.calefaccion_temporal
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Qualitat aire
|
|
icon: mdi:air-purifier
|
|
card_layout: normal
|
|
sub_button:
|
|
- name: Purificador
|
|
icon: mdi:air-purifier
|
|
state_background: true
|
|
tap_action:
|
|
action: url
|
|
url_path: >-
|
|
https://arrel.casa/config/devices/device/665aee7ac75459a44ae0131c2c5505b8
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.purificador_menjador_xiaomi_pm25_density
|
|
name: Calidad Aire
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#769ED5'
|
|
- value: 5
|
|
color: '#89ADDC'
|
|
- value: 10
|
|
color: '#F4D862'
|
|
- value: 15
|
|
color: '#F7B52D'
|
|
- value: 20
|
|
color: '#EF7410'
|
|
- value: 25
|
|
color: '#E84B1A'
|
|
- value: 30
|
|
color: '#D2270F'
|
|
- value: 35
|
|
color: '#C40607'
|
|
- value: 40
|
|
color: '#700318'
|
|
- value: 45
|
|
color: '#4F000F'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Purificador
|
|
secondary: >-
|
|
{{ state_attr('fan.purificador_menjador_xiaomi_air_purifier',
|
|
'environment.pm2_5_density') }} µg/m³
|
|
icon: >-
|
|
{% if is_state("fan.purificador_menjador_xiaomi_air_purifier",
|
|
"on") -%}
|
|
|
|
mdi:air-purifier
|
|
|
|
{%- else -%}
|
|
|
|
mdi:air-purifier-off
|
|
|
|
{%- endif %}
|
|
entity: fan.purificador_menjador_xiaomi_air_purifier
|
|
icon_color: >-
|
|
{% if is_state("fan.purificador_menjador_xiaomi_air_purifier",
|
|
"on") -%}
|
|
|
|
blue
|
|
|
|
{%- else -%}
|
|
|
|
grey
|
|
|
|
{%- endif %}
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.purificador_menjador_xiaomi_pm25_density
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.purificador_menjador_xiaomi_filter_left_time
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.xiaomi_cpa4_9375_pm25_density
|
|
- title: Oficina
|
|
path: oficina
|
|
icon: mdi:table-furniture
|
|
type: custom:vertical-layout
|
|
theme: Rosé Pine
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: light.office_leds
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: light.office_leds
|
|
content_info: state
|
|
icon_color: yellow
|
|
icon: mdi:led-strip
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: entity
|
|
entity: switch.sobremesawol
|
|
icon: mdi:desktop-classic
|
|
- type: entity
|
|
entity: input_boolean.mantener_activo_telefono
|
|
- type: entity
|
|
entity: input_datetime.vaper_recambio
|
|
- type: spacer
|
|
- type: entity
|
|
entity: binary_sensor.presence_oficina_zigbee_occupancy
|
|
content_info: state
|
|
icon_color: red
|
|
icon: mdi:motion-sensor
|
|
use_entity_picture: false
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temperatura
|
|
icon: mdi:thermometer
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_oficina_zigbee_temperature
|
|
name: Temperatura
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#769ED5'
|
|
- value: 5
|
|
color: '#89ADDC'
|
|
- value: 10
|
|
color: '#F4D862'
|
|
- value: 15
|
|
color: '#F7B52D'
|
|
- value: 20
|
|
color: '#EF7410'
|
|
- value: 25
|
|
color: '#E84B1A'
|
|
- value: 30
|
|
color: '#D2270F'
|
|
- value: 35
|
|
color: '#C40607'
|
|
- value: 40
|
|
color: '#700318'
|
|
- value: 45
|
|
color: '#4F000F'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_oficina_zigbee_humidity
|
|
name: Humitat
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Llums
|
|
icon: mdi:lightbulb
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.leds_panel_wled
|
|
name: Panell
|
|
icon: mdi:led-strip
|
|
fill_container: true
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
show_color_control: true
|
|
show_color_temp_control: true
|
|
collapsible_controls: true
|
|
tap_action:
|
|
action: toggle
|
|
icon_type: icon
|
|
- type: custom:mushroom-light-card
|
|
entity: light.tiraneon_2
|
|
fill_container: true
|
|
name: Tira Neon
|
|
icon: mdi:led-strip
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
show_color_control: false
|
|
collapsible_controls: true
|
|
tap_action:
|
|
action: toggle
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: switch.smartplug_usb_oficina_zigbee
|
|
state: 'on'
|
|
card:
|
|
type: custom:mushroom-light-card
|
|
entity: light.leds_mesa_wled_2
|
|
fill_container: true
|
|
show_brightness_control: true
|
|
use_light_color: true
|
|
show_color_control: true
|
|
show_color_temp_control: true
|
|
collapsible_controls: true
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.lamparamesa_officina_meross
|
|
fill_container: true
|
|
icon_color: red
|
|
name: Lampareta
|
|
tap_action:
|
|
action: toggle
|
|
icon: mdi:desk-lamp-on
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
collapsible_controls: true
|
|
show_color_control: false
|
|
- type: custom:mushroom-light-card
|
|
entity: light.leds_oficina_zigbee
|
|
name: Estanteria
|
|
icon: mdi:led-strip
|
|
fill_container: true
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
show_color_control: true
|
|
show_color_temp_control: true
|
|
collapsible_controls: true
|
|
tap_action:
|
|
action: toggle
|
|
icon_type: icon
|
|
- square: false
|
|
columns: 3
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: light.awtrix_matrix
|
|
name: Awtrix
|
|
icon: mdi:clock-digital
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: select.awtrix_transition_effect
|
|
name: Efecte
|
|
icon: mdi:laptop
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.awtrix_battery
|
|
icon: mdi:battery
|
|
name: Bateria
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Endolls
|
|
icon: mdi:power-socket-eu
|
|
- square: false
|
|
columns: 3
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_usb_oficina_zigbee
|
|
name: Leds Taula
|
|
icon: mdi:usb-port
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_office_zigbee
|
|
name: Enchufe Oficina
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Taula
|
|
icon: mdi:desk
|
|
- type: custom:mushroom-cover-card
|
|
entity: cover.flexispot_e1_desk
|
|
name: Taula
|
|
fill_container: true
|
|
primary_info: name
|
|
secondary_info: state
|
|
show_position_control: true
|
|
show_tilt_position_control: false
|
|
show_buttons_control: true
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: button.flexispot_e1_stand
|
|
name: D'en peus
|
|
fill_container: true
|
|
secondary_info: state
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: button.flexispot_e1_sit
|
|
name: Assegut
|
|
fill_container: true
|
|
secondary_info: state
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: button.flexispot_e1_memory
|
|
name: Memòria
|
|
fill_container: true
|
|
secondary_info: state
|
|
tap_action:
|
|
action: toggle
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: P1
|
|
secondary: '70'
|
|
icon: mdi:numeric-1-box
|
|
entity: button.flexispot_e1_preset_1
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
primary: P2
|
|
secondary: '80'
|
|
icon: mdi:numeric-2-box
|
|
entity: button.flexispot_e1_preset_2
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
primary: P3
|
|
secondary: '85'
|
|
icon: mdi:numeric-3-box
|
|
entity: button.flexispot_e1_preset_3
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-template-card
|
|
primary: P4
|
|
secondary: '110'
|
|
icon: mdi:numeric-4-box
|
|
entity: button.flexispot_e1_preset_4
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Treball
|
|
icon: mdi:cloud
|
|
- square: false
|
|
columns: 3
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.powerstrip_oficina_tuya_phone
|
|
name: Teléfono Fijo
|
|
icon: mdi:deskphone
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.powerstrip_oficina_tuya_pc
|
|
name: Portátil
|
|
icon: mdi:laptop
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.powerstrip_oficina_tuya_usb
|
|
name: KVM
|
|
icon: mdi:monitor-multiple
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_boolean.mantener_activo_telefono
|
|
name: Tarda
|
|
icon: mdi:deskphone
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_office_zigbee
|
|
name: Enchufe Oficina
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_boolean.ventilador_oficina
|
|
icon: mdi:fan
|
|
name: Fan
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Calendari
|
|
icon: mdi:calendar
|
|
- type: custom:atomic-calendar-revive
|
|
enableModeChange: true
|
|
entities:
|
|
- entity: automation.dev_enviar_calendario_a_telegram
|
|
icon: ''
|
|
- entity: calendar.personal
|
|
name: Personal
|
|
icon: mdi:calendar-account
|
|
- entity: calendar.aniversaris
|
|
name: Aniversaris
|
|
icon: mdi:calendar-star
|
|
showMultiDay: true
|
|
- entity: calendar.festius
|
|
name: Festius
|
|
icon: mdi:calendar-arrow-right
|
|
- entity: calendar.voidnull
|
|
name: VoidNull
|
|
icon: mdi:calendar-edit
|
|
dimFinishedEvents: true
|
|
calShowDescription: false
|
|
disableCalEventLink: false
|
|
disableCalLocationLink: false
|
|
disableCalLink: false
|
|
maxDaysToShow: 15
|
|
defaultMode: Event
|
|
sortBy: start
|
|
showDeclined: false
|
|
showDate: false
|
|
showAllDayEvents: true
|
|
compactMode: false
|
|
showCalendarName: false
|
|
showLastCalendarWeek: false
|
|
linkTarget: _blank
|
|
showEventIcon: true
|
|
showFullDayProgress: false
|
|
showHiddenText: false
|
|
showMonth: true
|
|
showDescription: true
|
|
descLength: 0
|
|
firstDayOfWeek: 1
|
|
showLoader: true
|
|
hideFinishedEvents: false
|
|
showRelativeTime: true
|
|
showLocation: false
|
|
hideDuplicates: false
|
|
showMultiDay: false
|
|
allDayBottom: true
|
|
showCurrentEventLine: false
|
|
showProgressBar: true
|
|
showWeekDay: true
|
|
disableEventLink: false
|
|
disableLocationLink: false
|
|
showEventDate: true
|
|
showWeekNumber: false
|
|
showTimeRemaining: false
|
|
hoursOnSameLine: false
|
|
titleLength: 0
|
|
eventDateFormat: D/M/YYYY
|
|
- title: oficinilla
|
|
path: oficinilla
|
|
icon: mdi:table-chair
|
|
theme: Rosé Pine
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: spacer
|
|
- type: entity
|
|
entity: person.spectrumgirl
|
|
content_info: state
|
|
name: SpectrumGirl
|
|
use_entity_picture: true
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temperatura
|
|
icon: mdi:thermometer
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_oficinaisa_zigbee_temperature
|
|
name: Temperatura
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_oficinaisa_zigbee_humidity
|
|
name: Humidade
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 30
|
|
color: '#5e81ac'
|
|
- value: 50
|
|
color: '#d08770'
|
|
- value: 70
|
|
color: '#bf616a'
|
|
- title: Nidito del Amor
|
|
path: niu-de-amor
|
|
icon: mdi:robot-love
|
|
type: custom:vertical-layout
|
|
theme: Rosé Pine
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temperatura
|
|
icon: mdi:thermometer
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_habitacion_zigbee_temperature
|
|
name: Temperatura
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#769ED5'
|
|
- value: 5
|
|
color: '#89ADDC'
|
|
- value: 10
|
|
color: '#F4D862'
|
|
- value: 15
|
|
color: '#F7B52D'
|
|
- value: 20
|
|
color: '#EF7410'
|
|
- value: 25
|
|
color: '#E84B1A'
|
|
- value: 30
|
|
color: '#D2270F'
|
|
- value: 35
|
|
color: '#C40607'
|
|
- value: 40
|
|
color: '#700318'
|
|
- value: 45
|
|
color: '#4F000F'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_habitacion_zigbee_humidity
|
|
name: Humitat
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Moviment
|
|
icon: mdi:motion-sensor
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.presence_habitacion_zigbee_occupancy
|
|
name: Presencia
|
|
icon: mdi:motion-sensor
|
|
icon_type: icon
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.presence_habitacion_zigbee_illumination
|
|
name: Il·luminació
|
|
icon: mdi:light-flood-down
|
|
icon_type: icon
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.presence_habitacion_zigbee_occupancy_timeout
|
|
name: Presencia
|
|
icon: mdi:motion-sensor
|
|
icon_type: icon
|
|
- type: custom:mushroom-entity-card
|
|
entity: select.presence_habitacion_zigbee_occupancy_sensitivity
|
|
name: Presencia
|
|
icon: mdi:motion-sensor
|
|
icon_type: icon
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Llum
|
|
icon: mdi:lightbulb
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_habitacion_zigbee
|
|
name: Llum
|
|
fill_container: true
|
|
use_light_color: true
|
|
show_brightness_control: true
|
|
show_color_control: true
|
|
show_color_temp_control: true
|
|
collapsible_controls: false
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Ventilador
|
|
icon: mdi:fan
|
|
- type: custom:mushroom-fan-card
|
|
entity: fan.xiaomi_smart_fan
|
|
name: Ventilador
|
|
icon_animation: true
|
|
show_oscillate_control: false
|
|
show_percentage_control: false
|
|
collapsible_controls: true
|
|
icon_type: icon
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Leds
|
|
secondary: |-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "led") -%}
|
|
Encendidos
|
|
{%- else -%}
|
|
Apagados
|
|
{%- endif %}
|
|
icon: mdi:fan
|
|
hold_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_led_brightness
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
brightness: 0
|
|
icon_color: |-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "led") -%}
|
|
blue
|
|
{%- else -%}
|
|
|
|
{%- endif %}
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_led_brightness
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
brightness: 2
|
|
- type: custom:mushroom-template-card
|
|
primary: Sonido al pulsar
|
|
secondary: |-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "buzzer") -%}
|
|
Encendidos
|
|
{%- else -%}
|
|
Apagados
|
|
{%- endif %}
|
|
icon: mdi:speaker
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_buzzer_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
hold_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_buzzer_on
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
icon_color: |-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "buzzer") -%}
|
|
blue
|
|
{%- else -%}
|
|
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: Oscila
|
|
secondary: |-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "oscillating") -%}
|
|
Activo
|
|
{%- else -%}
|
|
Desactivado
|
|
{%- endif %}
|
|
icon: mdi:arrow-oscillating
|
|
tap_action:
|
|
action: call-service
|
|
service: fan.oscillate
|
|
target:
|
|
entity_id:
|
|
- fan.xiaomi_smart_fan
|
|
data:
|
|
oscillating: true
|
|
icon_color: |-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "oscillating") -%}
|
|
blue
|
|
{%- else -%}
|
|
|
|
{%- endif %}
|
|
hold_action:
|
|
action: call-service
|
|
service: fan.oscillate
|
|
target:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
data:
|
|
oscillating: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Natura
|
|
secondary: ''
|
|
icon: mdi:nature
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_natural_mode_on
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
icon_color: ''
|
|
hold_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_natural_mode_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: M1
|
|
secondary: x1
|
|
icon: mdi:fan-speed-1
|
|
tap_action:
|
|
action: call-service
|
|
service: fan.set_preset_mode
|
|
target:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
data:
|
|
preset_mode: Level 1
|
|
icon_color: >-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "preset_mode") == "Level
|
|
1" -%}
|
|
blue
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: M2
|
|
secondary: x2
|
|
icon: mdi:fan-speed-2
|
|
tap_action:
|
|
action: call-service
|
|
service: fan.set_preset_mode
|
|
target:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
data:
|
|
preset_mode: Level 2
|
|
icon_color: >-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "preset_mode") == "Level
|
|
2" -%}
|
|
blue
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: M3
|
|
secondary: x3
|
|
icon: mdi:fan-speed-3
|
|
tap_action:
|
|
action: call-service
|
|
service: fan.set_preset_mode
|
|
target:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
data:
|
|
preset_mode: Level 3
|
|
icon_color: >-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "preset_mode") == "Level
|
|
3" -%}
|
|
blue
|
|
{%- endif %}
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Temporizador
|
|
secondary: >-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "delay_off_countdown") ==
|
|
0 -%}
|
|
Desactivado
|
|
{%- else -%}
|
|
{{ state_attr("fan.xiaomi_smart_fan", "delay_off_countdown") }} min
|
|
{%- endif %}
|
|
icon: >-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "delay_off_countdown") ==
|
|
0 -%}
|
|
mdi:fan-chevron-down
|
|
{%- else -%}
|
|
mdi:fan-chevron-up
|
|
{%- endif %}
|
|
fill_container: true
|
|
multiline_secondary: true
|
|
layout: vertical
|
|
icon_color: >-
|
|
{% if state_attr("fan.xiaomi_smart_fan", "delay_off_countdown") ==
|
|
0 -%}
|
|
|
|
{%- else -%}
|
|
blue
|
|
{%- endif %}
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-1-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 60
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-4-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 240
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-7-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 420
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-2-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 120
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-5-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 300
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-8-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 480
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-3-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 180
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-6-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 360
|
|
entity: fan.xiaomi_smart_fan
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-0-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: xiaomi_miio_fan.fan_set_delay_off
|
|
target: {}
|
|
data:
|
|
entity_id: fan.xiaomi_smart_fan
|
|
delay_off_countdown: 0
|
|
entity: fan.xiaomi_smart_fan
|
|
- theme: Rosé Pine
|
|
title: Terraza
|
|
path: terrassa
|
|
icon: mdi:balcony
|
|
type: custom:vertical-layout
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temperatura
|
|
icon: mdi:thermometer
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_terraza_zigbee_temperature
|
|
name: Temperatura
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_terraza_zigbee_humidity
|
|
name: Humitat
|
|
hours_to_show: 48
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
icon: mdi:weather-rainy
|
|
name: Panell de pluja
|
|
- square: true
|
|
columns: 3
|
|
type: grid
|
|
cards:
|
|
- show_name: false
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: binary_sensor.sensor_water_exterior_zigbee_water_leak
|
|
show_state: true
|
|
theme: Mushroom Shadow
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: input_boolean.ropa_tentida
|
|
show_state: true
|
|
name: Ropa Tendida
|
|
theme: Mushroom Shadow
|
|
- theme: Rosé Pine
|
|
title: Cocina
|
|
path: cuina
|
|
type: custom:vertical-layout
|
|
icon: mdi:fridge
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temperatura
|
|
icon: mdi:thermometer
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_cocina_zigbee_temperature
|
|
name: Temperatura
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.temperature_cocina_zigbee_humidity
|
|
name: Humitat
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0
|
|
color: '#9BBAE2'
|
|
- value: 10
|
|
color: '#9CD2C0'
|
|
- value: 20
|
|
color: '#EBDA6E'
|
|
- value: 30
|
|
color: '#F6B42C'
|
|
- value: 40
|
|
color: '#F28306'
|
|
- value: 50
|
|
color: '#EB6314'
|
|
- value: 60
|
|
color: '#EB561E'
|
|
- value: 70
|
|
color: '#D83412'
|
|
- value: 80
|
|
color: '#B6080D'
|
|
- value: 90
|
|
color: '#890619'
|
|
- value: 100
|
|
color: '#510110'
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Endolls
|
|
icon: mdi:power-plug
|
|
- type: grid
|
|
cards:
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: switch.smartplug_cocina_meross
|
|
name: Cocina 1
|
|
show_state: true
|
|
theme: Mushroom Square Shadow
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Sensor Fum
|
|
icon: mdi:smoke-detector-variant
|
|
sub_button: []
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: STOP
|
|
secondary: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
Alerta!
|
|
{%- endif %}
|
|
icon: mdi:smoke-detector
|
|
hold_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
icon_color: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
red
|
|
{%- elif states("binary_sensor.smoke_cocina_zigbee_smoke") ==
|
|
"off" -%}
|
|
blue
|
|
{%- else %}
|
|
grey
|
|
{%- endif %}
|
|
tap_action:
|
|
action: perform-action
|
|
target:
|
|
device_id: a451e5ca5d06988db260f078d7c8d39a
|
|
perform_action: switch.turn_on
|
|
entity: binary_sensor.smoke_cocina_zigbee_smoke
|
|
badge_icon: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
mdi:alert
|
|
{%- endif %}
|
|
badge_color: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
red
|
|
{%- endif %}
|
|
fill_container: true
|
|
- type: custom:mushroom-template-card
|
|
primary: Fum
|
|
secondary: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
Alerta!
|
|
{% elif states("binary_sensor.smoke_cocina_zigbee_smoke") == "off"
|
|
-%}
|
|
Normal
|
|
{%- else %}
|
|
Desconocido
|
|
{%- endif %}
|
|
icon: mdi:smoke-detector
|
|
hold_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
icon_color: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
red
|
|
{%- elif states("binary_sensor.smoke_cocina_zigbee_smoke") ==
|
|
"off" -%}
|
|
blue
|
|
{%- else %}
|
|
grey
|
|
{%- endif %}
|
|
tap_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
entity: binary_sensor.smoke_cocina_zigbee_smoke
|
|
badge_icon: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
mdi:alert
|
|
{%- endif %}
|
|
badge_color: >-
|
|
{% if states("binary_sensor.smoke_cocina_zigbee_smoke") == "on"
|
|
-%}
|
|
red
|
|
{%- endif %}
|
|
fill_container: true
|
|
- type: custom:mushroom-template-card
|
|
primary: Concentració fum
|
|
secondary: '{{ states("sensor.smoke_cocina_zigbee_smoke_concentration") }} ppm'
|
|
icon: mdi:smoke
|
|
tap_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
hold_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
icon_color: >-
|
|
{% if states("sensor.smoke_cocina_zigbee_smoke_concentration") > 5
|
|
-%}
|
|
red
|
|
{%- else -%}
|
|
blue
|
|
{%- endif %}
|
|
entity: sensor.smoke_cocina_zigbee_smoke_concentration
|
|
fill_container: true
|
|
multiline_secondary: true
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
- type: custom:mushroom-template-card
|
|
primary: Bateria
|
|
secondary: '{{ states("sensor.smoke_cocina_zigbee_battery") }} %'
|
|
icon: mdi:battery
|
|
tap_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
hold_action:
|
|
action: perform-action
|
|
target: {}
|
|
perform_action: ''
|
|
icon_color: |-
|
|
{% if states("sensor.smoke_cocina_zigbee_battery") < 10 -%}
|
|
red
|
|
{%- else -%}
|
|
blue
|
|
{%- endif %}
|
|
fill_container: true
|
|
multiline_secondary: true
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
entity: sensor.smoke_cocina_zigbee_battery
|
|
- theme: Rosé Pine
|
|
title: Pasillo
|
|
path: passadis
|
|
icon: mdi:home-switch
|
|
type: custom:vertical-layout
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Pasillo
|
|
icon: mdi:home-switch
|
|
- square: true
|
|
columns: 3
|
|
type: grid
|
|
cards:
|
|
- type: entity
|
|
entity: binary_sensor.motion_pasillo_zigbee_occupancy
|
|
name: 'Sensor '
|
|
attribute: occupancy
|
|
theme: Mushroom Shadow
|
|
- show_name: false
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: light.leds_pasillo
|
|
show_state: true
|
|
- type: entity
|
|
entity: counter.pasillo
|
|
name: Personas
|
|
unit: veces
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.motion_pasillo_zigbee_battery
|
|
name: Bateria
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 30
|
|
color: '#5e81ac'
|
|
- value: 50
|
|
color: '#d08770'
|
|
- value: 70
|
|
color: '#bf616a'
|
|
- type: sections
|
|
max_columns: 1
|
|
title: exterior
|
|
path: exterior
|
|
icon: mdi:pine-tree-variant
|
|
theme: Rosé Pine
|
|
sections:
|
|
- type: grid
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- type: entity
|
|
entity: input_boolean.bustia
|
|
- type: heading
|
|
heading: Nova secció
|
|
- type: entity
|
|
entity: sensor.motion_buzon_zigbee_illuminance
|
|
name: Il·luminació bustia
|
|
unit: lx
|
|
theme: Rosé Pine
|
|
state_color: true
|
|
- type: entity
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
name: Detector
|
|
icon: ''
|
|
theme: Rosé Pine
|
|
state_color: true
|
|
title: SantPau
|