3177 lines
112 KiB
YAML
3177 lines
112 KiB
YAML
kiosk_mode:
|
|
hide_header: false
|
|
views:
|
|
- theme: Material Rounded Transparent Card No Mod Dark
|
|
title: Home
|
|
icon: mdi:home
|
|
path: home
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.smoke_cocina_zigbee_smoke
|
|
state: 'on'
|
|
chip:
|
|
type: template
|
|
entity: binary_sensor.smoke_cocina_zigbee_smoke
|
|
icon: mdi:fridge-alert
|
|
icon_color: red
|
|
content: FUM DETECTAT!
|
|
- type: alarm-control-panel
|
|
entity: alarm_control_panel.prosegur
|
|
double_tap_action:
|
|
action: none
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
content_info: state
|
|
- type: entity
|
|
entity: person.t3rr0rz0n3
|
|
name: t3rr0rz0n3
|
|
content_info: state
|
|
icon_color: deep-purple
|
|
use_entity_picture: true
|
|
- type: entity
|
|
entity: sensor.redminote8pro_jesus_battery_power
|
|
use_entity_picture: false
|
|
icon_color: pink
|
|
content_info: state
|
|
- type: entity
|
|
entity: person.spectrumgirl
|
|
name: Spectrum
|
|
content_info: state
|
|
use_entity_picture: true
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: input_boolean.bustia
|
|
state: 'on'
|
|
chip:
|
|
type: template
|
|
content: Hay una carta!
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
- type: entity
|
|
entity: binary_sensor.workday_sensor
|
|
icon: mdi:briefcase
|
|
- type: conditional
|
|
conditions:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
state: unavailable
|
|
- condition: state
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
state: unknown
|
|
chip:
|
|
type: template
|
|
content: ERROR
|
|
icon: mdi:email
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
alignment: center
|
|
- square: true
|
|
type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Casa
|
|
secondary: ''
|
|
icon: mdi:home
|
|
icon_color: blue
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: casa
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Llums
|
|
secondary: ''
|
|
icon: mdi:lightbulb
|
|
icon_color: yellow
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/llums
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Seguretat
|
|
secondary: ''
|
|
icon: mdi:shield
|
|
icon_color: green
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/seguretat
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: LAB
|
|
secondary: ''
|
|
icon: mdi:dev-to
|
|
icon_color: purple
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/lab
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Xarxa
|
|
secondary: ''
|
|
icon: mdi:network
|
|
icon_color: red
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/xarxa
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
columns: 5
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: entity
|
|
entity: group.home_bulbs
|
|
use_entity_picture: false
|
|
name: Llums
|
|
content_info: name
|
|
icon_color: light-blue
|
|
- type: entity
|
|
entity: group.home_leds
|
|
name: Leds
|
|
content_info: name
|
|
icon: mdi:led-strip
|
|
icon_color: deep-orange
|
|
- type: entity
|
|
entity: group.home_switchs
|
|
icon_color: light-green
|
|
icon: mdi:power-plug
|
|
content_info: name
|
|
name: Endolls
|
|
- type: spacer
|
|
- type: entity
|
|
entity: input_boolean.modo_vacaciones
|
|
tap_action:
|
|
action: toggle
|
|
name: Vacances
|
|
content_info: name
|
|
icon_color: red
|
|
icon: mdi:airplane
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions
|
|
icon: mdi:room-service
|
|
icon_color: green
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis
|
|
icon: mdi:face-agent
|
|
icon_color: green
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: ''
|
|
icon: mdi:tablet-dashboard
|
|
icon_color: green
|
|
- type: custom:simple-weather-card
|
|
entity: weather.pirateweather
|
|
name: Mataró
|
|
backdrop: false
|
|
primary_info:
|
|
- wind_bearing
|
|
- humidity
|
|
secondary_info:
|
|
- precipitation
|
|
- precipitation_probability
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: light.home_leds
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: light.home_leds
|
|
icon_color: deep-purple
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: light.home_bulbs
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: group.home_bulbs
|
|
icon: mdi:lightbulb
|
|
content_info: state
|
|
icon_color: yellow
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: switch.home_plug
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: group.home_switchs
|
|
icon: mdi:power-plug
|
|
content_info: state
|
|
icon_color: red
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.home_motion
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: binary_sensor.home_motion
|
|
icon: mdi:motion-sensor
|
|
icon_color: pink
|
|
content_info: state
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.puerta_oficinaisa_zigbee_contact
|
|
state: 'off'
|
|
chip:
|
|
type: template
|
|
icon: mdi:webcam
|
|
icon_color: red
|
|
content: Isa Meeting
|
|
entity: binary_sensor.puerta_oficinaisa_zigbee_contact
|
|
- type: spacer
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: sensor.hacs
|
|
state_not: '0'
|
|
chip:
|
|
type: entity
|
|
entity: sensor.hacs
|
|
content_info: name
|
|
icon_color: green
|
|
name: Updates
|
|
icon: hacs:hacs
|
|
tap_action:
|
|
action: url
|
|
url_path: https://santpaumataro.duckdns.org:8123/hacs/entry
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: input_select.washingmachine_status
|
|
state: Funcionando
|
|
chip:
|
|
type: entity
|
|
entity: input_select.washingmachine_status
|
|
content_info: none
|
|
icon_color: light-blue
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.ender3v3se_printing
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: sensor.ender3v3se_current_state
|
|
content_info: none
|
|
icon_color: green
|
|
alignment: left
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Habitacions
|
|
icon: mdi:home
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Menjador
|
|
secondary: >-
|
|
{{ state_attr('climate.termostat_menjador_zigbee',
|
|
'current_temperature') }} °C
|
|
icon: mdi:sofa
|
|
icon_color: |
|
|
{% if is_state('light.bulb_menjador_sofa_tuya','on') %}
|
|
orange
|
|
{% else %}
|
|
white
|
|
{% endif %}
|
|
entity: light.bulb_salon_localtuya
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/menjador
|
|
- type: custom:mushroom-template-card
|
|
primary: Cuina
|
|
secondary: '{{ states(''sensor.temperature_cocina_zigbee_temperature'')}} °C'
|
|
icon: mdi:fridge
|
|
icon_color: light-green
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/cuina
|
|
entity: sensor.temperature_cocina_zigbee_temperature
|
|
- type: custom:mushroom-template-card
|
|
primary: Niu d'amor
|
|
secondary: '{{ states(''sensor.temperature_habitacion_zigbee_temperature'')}} °C'
|
|
icon: mdi:robot-love
|
|
icon_color: deep-purple
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/niu-de-amor
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Oficina Jesús
|
|
secondary: '{{ states(''sensor.temperature_oficina_zigbee_temperature'')}} °C'
|
|
icon: mdi:table-chair
|
|
icon_color: pink
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/oficina
|
|
entity: sensor.0xa4c13883b54a5af0_temperature
|
|
fill_container: true
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Oficina Isa
|
|
secondary: '{{ states(''sensor.temperature_oficinaisa_zigbee_temperature'')}} °C'
|
|
icon: mdi:table-chair
|
|
icon_color: pink
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/oficinilla
|
|
entity: sensor.temperature_oficinaisa_zigbee_temperature
|
|
fill_container: true
|
|
- type: custom:mushroom-template-card
|
|
primary: Carqui
|
|
secondary: '{{ states("sensor.pet_feeder_comida_mensual")}} Gr'
|
|
icon: mdi:cat
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/carqui
|
|
icon_color: amber
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Terrassa
|
|
secondary: '{{ states(''sensor.temperature_terraza_zigbee_temperature'')}} °C'
|
|
icon: mdi:balcony
|
|
icon_color: blue
|
|
entity: sensor.temperature_terraza_zigbee_temperature
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/terrassa
|
|
- type: custom:mushroom-template-card
|
|
primary: Passadís
|
|
secondary: '{{ states(''binary_sensor.motion_pasillo_zigbee_occupancy'')}} '
|
|
icon: mdi:home-switch
|
|
icon_color: teal
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/passadis
|
|
- type: custom:mushroom-template-card
|
|
primary: Exterior
|
|
secondary: >
|
|
{% if states('input_boolean.bustia') == "on" -%}Hi ha una carta{%-
|
|
else -%}Sense correu{%- endif %}
|
|
icon: >
|
|
{% if states('input_boolean.bustia') == "on"
|
|
-%}mdi:mailbox-open-up{%- else -%}mdi:mailbox-open{%- endif %}
|
|
icon_color: >-
|
|
{% if states('input_boolean.bustia') == "on" -%}red{%- else
|
|
-%}green{%- endif %}
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/exterior
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Serveis
|
|
icon: mdi:home-percent
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Neteja
|
|
secondary: '{{ state_attr(''vacuum.mayormono'', ''battery_level'') }}%'
|
|
icon: mdi:vacuum
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/neteja
|
|
icon_color: purple
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
- type: custom:mushroom-template-card
|
|
primary: Rentadora
|
|
secondary: >-
|
|
{% if is_state('input_select.washingmachine_status', "Apagada")
|
|
-%}
|
|
Apagado
|
|
{% elif is_state('input_select.washingmachine_status',
|
|
"Funcionando") -%}
|
|
Funcionando
|
|
{% elif is_state('input_select.washingmachine_status',
|
|
"Terminando") -%}
|
|
Terminado
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
icon: mdi:washing-machine
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/rentadora
|
|
icon_color: blue
|
|
- type: custom:mushroom-template-card
|
|
primary: Calenfacció
|
|
secondary: |-
|
|
{% if is_state('climate.termostat_menjador_zigbee', "heat") -%}
|
|
Actiu
|
|
{% elif is_state('climate.termostat_menjador_zigbee', "off") -%}
|
|
Apagat
|
|
{%- else -%}
|
|
Error
|
|
{%- endif %}
|
|
icon: mdi:thermostat
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/calefaccio
|
|
icon_color: |-
|
|
{% if is_state('climate.termostat_menjador_zigbee', "heat") -%}
|
|
red
|
|
{% elif is_state('climate.termostat_menjador_zigbee', "off") -%}
|
|
blue
|
|
{%- else -%}
|
|
grey
|
|
{%- endif %}
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Torrent
|
|
secondary: |
|
|
{{ states('sensor.transmission_torrents_totals') }}
|
|
icon: mdi:download
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/torrent
|
|
icon_color: red
|
|
- type: custom:mushroom-template-card
|
|
primary: Print 3D
|
|
secondary: >-
|
|
{% if is_state('sensor.ender3v3se_current_state', "Operational")
|
|
-%}
|
|
Activa
|
|
{% elif is_state('sensor.ender3v3se_current_state', "Printing")
|
|
-%}
|
|
Imprimint
|
|
{% elif is_state('sensor.ender3v3se_current_state', "unavailable")
|
|
-%}
|
|
Apagada
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
icon: mdi:printer-3d
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/print3d
|
|
icon_color: >-
|
|
{% if is_state('sensor.ender3v3se_current_state', "Operational")
|
|
-%}
|
|
blue
|
|
{% elif is_state('sensor.ender3v3se_current_state', "Printing")
|
|
-%}
|
|
green
|
|
{% elif is_state('sensor.ender3v3se_current_state', "unavailable")
|
|
-%}
|
|
grey
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: Media
|
|
secondary: |-
|
|
{% if is_state("media_player.spotify_t3rr0rz0n3", "playing") -%}
|
|
{{state_attr("media_player.spotify_t3rr0rz0n3", "media_title")}}
|
|
{%- elif is_state("media_player.kodi", "playing") -%}
|
|
{{state_attr("media_player.kodi", "media_title")}}
|
|
{%- elif is_state("media_player.raspiaudio", "playing") -%}
|
|
Reproduint
|
|
{%- elif is_state("media_player.dormitorio", "playing") -%}
|
|
{{state_attr("media_player.dormitorio", "media_title")}}
|
|
{%- else -%}
|
|
Res
|
|
{%- endif %}
|
|
icon: mdi:play-box
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/reproductors
|
|
icon_color: lime
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Temps
|
|
secondary: |-
|
|
{% if states('weather.pirateweather') == "clear-night" -%}
|
|
Nit clara
|
|
{%- elif states('weather.pirateweather') == "sunny" -%}
|
|
Assolellat
|
|
{%- elif states('weather.pirateweather') == "cloudy" -%}
|
|
Ennuvolat
|
|
{%- elif states('weather.pirateweather') == "fog" -%}
|
|
Boira
|
|
{%- elif states('weather.pirateweather') == "partlycloudy" -%}
|
|
Parcialment ennuvolat
|
|
{%- elif states('weather.pirateweather') == "rainy" -%}
|
|
Plujós
|
|
{%- elif states('weather.pirateweather') == "snowy" -%}
|
|
Nevat
|
|
{%- elif states('weather.pirateweather') == "windy" -%}
|
|
Ventós
|
|
{%- else -%}
|
|
Sense dades
|
|
{%- endif %}
|
|
icon: mdi:weather-cloudy
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/temps
|
|
icon_color: blue
|
|
badge_color: >-
|
|
{% set value = state_attr('binary_sensor.barcelona',
|
|
'awareness_level') %}
|
|
|
|
{% set color = value.split('; ')[1] %}
|
|
|
|
|
|
{%- if color == "yellow" -%}
|
|
|
|
yellow
|
|
|
|
{%- elif color == "orange" -%}
|
|
|
|
orange
|
|
|
|
{%- elif color == "red" -%}
|
|
|
|
red
|
|
|
|
{%- else -%}
|
|
|
|
grey
|
|
|
|
{%- endif %}
|
|
badge_icon: >-
|
|
{{ state_attr('binary_sensor.barcelona', 'awareness_level') }}
|
|
|
|
{% set value = state_attr('binary_sensor.barcelona',
|
|
'awareness_level') %}
|
|
|
|
{% set level = value.split('; ')[0] %}
|
|
|
|
|
|
{%- if level == "2" -%}
|
|
|
|
mdi:numeric-2-box
|
|
|
|
{%- elif level == "3" -%}
|
|
|
|
mdi:numeric-3-box
|
|
|
|
{%- elif level == "4" -%}
|
|
|
|
mdi:numeric-4-box
|
|
|
|
{%- else -%}
|
|
|
|
mdi:numeric-0-box
|
|
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: Hort
|
|
secondary: '{{state_attr("weather.pirateweather", "temperature")}} °C'
|
|
icon: mdi:flower
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/hort
|
|
icon_color: lime
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
- type: custom:mushroom-template-card
|
|
primary: Regadiu
|
|
secondary: '{{ states("sensor.agua_terraza_zigbee_battery")}}%'
|
|
icon: mdi:pipe-valve
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/reg
|
|
icon_color: blue
|
|
badge_icon: |-
|
|
{% if states('sensor.agua_terraza_zigbee_battery') < "20" -%}
|
|
mdi:battery
|
|
{%- endif %}
|
|
badge_color: red
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Planificador
|
|
secondary: ''
|
|
icon: mdi:calendar-arrow-right
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/planificador
|
|
icon_color: deep-orange
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
- type: custom:mushroom-template-card
|
|
primary: Escenes
|
|
secondary: ''
|
|
icon: mdi:lightbulb-on
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/escenes
|
|
icon_color: brown
|
|
- square: false
|
|
type: grid
|
|
cards:
|
|
- type: entity
|
|
entity: sensor.anniversary_cap_d_any
|
|
name: Cap d'Any
|
|
unit: dies
|
|
state_color: false
|
|
theme: Mushroom Square Shadow
|
|
- type: entity
|
|
entity: sensor.anniversary_nadal
|
|
name: Nadal
|
|
unit: dies
|
|
theme: Mushroom Square Shadow
|
|
state_color: false
|
|
- type: entity
|
|
entity: sensor.anniversary_diadanacional
|
|
unit: dies
|
|
name: Diada Nacional
|
|
icon: mdi:star-box
|
|
theme: Mushroom Square Shadow
|
|
columns: 3
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Tasques per fer
|
|
icon: mdi:information-slab-box
|
|
card_layout: normal
|
|
sub_button: []
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: input_boolean.ropa_tentida
|
|
state: 'on'
|
|
card:
|
|
type: custom:mushroom-entity-card
|
|
entity: input_boolean.ropa_tentida
|
|
name: La ropa està per recollir
|
|
secondary_info: none
|
|
fill_container: true
|
|
tap_action:
|
|
action: toggle
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: sensor.agua_terraza_zigbee_battery
|
|
state: '0'
|
|
card:
|
|
type: markdown
|
|
content: '**S''ha de canviar la bateria del reg**'
|
|
theme: Rosé Pine
|
|
type: custom:vertical-layout
|
|
- title: Casa
|
|
path: casa
|
|
icon: mdi:home-assistant
|
|
theme: Rosé Pine
|
|
type: custom:vertical-layout
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: custom:mushroom-entity-card
|
|
entity: update.hacs_update
|
|
fill_container: true
|
|
icon_color: cyan
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.system_monitor_processor_use
|
|
name: Us CPU
|
|
hours_to_show: 120
|
|
aggregate_func: max
|
|
group_by: date
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:thermometer
|
|
entity: sensor.temperature_habitacion_zigbee_temperature
|
|
icon_color: red
|
|
fill_container: false
|
|
name: Niu d'amor
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_habitacion_zigbee_humidity
|
|
name: Humitat
|
|
icon: mdi:water-percent
|
|
icon_color: red
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficina_zigbee_temperature
|
|
icon: mdi:thermometer
|
|
name: Oficina Jesús
|
|
icon_color: purple
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficina_zigbee_humidity
|
|
name: Humitat
|
|
icon: mdi:water-percent
|
|
icon_color: purple
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficinaisa_zigbee_temperature
|
|
icon: mdi:thermometer
|
|
name: Oficina Isabel
|
|
icon_color: pink
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficinaisa_zigbee_humidity
|
|
name: Humitat
|
|
icon: mdi:water-percent
|
|
icon_color: pink
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_menjador_zigbee_temperature
|
|
name: Comedor
|
|
icon: mdi:thermometer
|
|
icon_color: blue
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_menjador_zigbee_humidity
|
|
name: Humedad
|
|
icon: mdi:water-percent
|
|
icon_color: blue
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_cocina_zigbee_temperature
|
|
name: Cuina
|
|
icon: mdi:thermometer
|
|
icon_color: lime
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_cocina_zigbee_humidity
|
|
name: Humitat
|
|
icon: mdi:water-percent
|
|
icon_color: lime
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_terraza_zigbee_temperature
|
|
name: Exterior
|
|
icon: mdi:thermometer
|
|
icon_color: green
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_terraza_zigbee_humidity
|
|
name: Humedad
|
|
icon: mdi:water-percent
|
|
icon_color: green
|
|
- type: custom:auto-entities
|
|
card:
|
|
show_header_toggle: false
|
|
type: entities
|
|
title: Dispositius amb bateria baixa
|
|
theme: Rosé Pine
|
|
state_color: true
|
|
filter:
|
|
include:
|
|
- attributes:
|
|
device_class: battery
|
|
state: <= 40
|
|
exclude: null
|
|
sort:
|
|
method: state
|
|
numeric: true
|
|
reverse: false
|
|
show_empty: true
|
|
- title: Xarxa
|
|
path: xarxa
|
|
icon: mdi:network
|
|
theme: Rosé Pine
|
|
type: custom:vertical-layout
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
icon: mdi:home-assistant
|
|
name: Home Assistant
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
name: CPU Load
|
|
icon: mdi:home-assistant
|
|
entities:
|
|
- entity: sensor.system_monitor_load_1m
|
|
name: Load 1m
|
|
- entity: sensor.system_monitor_load_5m
|
|
name: Load 5m
|
|
- entity: sensor.system_monitor_load_15m
|
|
name: Load 15m
|
|
- type: custom:mini-graph-card
|
|
name: RAM
|
|
icon: mdi:home-assistant
|
|
entities:
|
|
- entity: sensor.system_monitor_memory_use
|
|
name: Use
|
|
- entity: sensor.system_monitor_memory_free
|
|
name: Free
|
|
- entity: sensor.system_monitor_memory_usage
|
|
name: Usage
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
icon: mdi:server
|
|
name: Màquines Virtuals
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:stack-in-card
|
|
mode: horizontal
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
entity: binary_sensor.uptimekuma_haos
|
|
primary: HAos
|
|
icon_color: blue
|
|
name: HAos
|
|
icon: mdi:home-assistant
|
|
fill_container: true
|
|
layout: horizontal
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
badge_icon: >
|
|
{% if is_state('binary_sensor.uptimekuma_haos', 'on') %}
|
|
mdi:check
|
|
{% elif is_state('binary_sensor.uptimekuma_haos',
|
|
'unknown') %}
|
|
mdi:help-circle
|
|
{% else %}
|
|
disabled
|
|
{% endif %}
|
|
badge_color: >
|
|
{% if is_state('binary_sensor.uptimekuma_haos', 'on') %}
|
|
green
|
|
{% elif is_state('binary_sensor.uptimekuma_haos',
|
|
'unknown') %}
|
|
orange
|
|
{% else %}
|
|
red
|
|
{% endif %}
|
|
card_mod:
|
|
style:
|
|
.: |
|
|
ha-card{
|
|
border-color: transparent
|
|
}
|
|
mushroom-state-info$: |
|
|
.primary {
|
|
font-size: 15px !important;
|
|
position: relative;
|
|
top: -10px;
|
|
left: 3px;
|
|
overflow: visible !important;
|
|
color: var(primary-text-color);
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.primary:after {
|
|
{% if is_state(config.entity, 'on') %}
|
|
content: "Actiu";
|
|
{% else %}
|
|
content: "Error";
|
|
{% endif %}
|
|
//content: "{{ states(config.entity) }}";
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
{% if is_state(config.entity, 'on') %}
|
|
color: var(--google-green);
|
|
{% else %}
|
|
color: var(--google-red);
|
|
{% endif %}
|
|
font-weight: bolder;
|
|
top: 3.5px;
|
|
left: 140px;
|
|
width: 16px;
|
|
height: 16px;
|
|
font-size: 15px;
|
|
}
|
|
- type: custom:uptime-card
|
|
entity: binary_sensor.uptimekuma_haos
|
|
hours_to_show: 2
|
|
alignment:
|
|
tooltip_first: true
|
|
show:
|
|
footer: false
|
|
header: false
|
|
status: false
|
|
bar:
|
|
height: 40
|
|
round: 10
|
|
spacing: 15
|
|
amount: 8
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
position: relative;
|
|
top: 10px;
|
|
left: -70%;
|
|
overflow: visible !important;
|
|
width: 170%;
|
|
border-color: transparent;
|
|
}
|
|
- type: custom:stack-in-card
|
|
mode: horizontal
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
entity: binary_sensor.uptimekuma_haos
|
|
primary: Proxmox
|
|
icon_color: orange
|
|
name: Proxmox
|
|
icon: mdi:approximately-equal-box
|
|
fill_container: true
|
|
layout: horizontal
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
badge_icon: >
|
|
{% if is_state('binary_sensor.uptimekuma_proxmox', 'on')
|
|
%}
|
|
mdi:check
|
|
{% elif is_state('binary_sensor.uptimekuma_proxmox',
|
|
'unknown') %}
|
|
mdi:help-circle
|
|
{% else %}
|
|
disabled
|
|
{% endif %}
|
|
badge_color: >
|
|
{% if is_state('binary_sensor.uptimekuma_proxmox', 'on')
|
|
%}
|
|
green
|
|
{% elif is_state('binary_sensor.uptimekuma_proxmox',
|
|
'unknown') %}
|
|
orange
|
|
{% else %}
|
|
red
|
|
{% endif %}
|
|
card_mod:
|
|
style:
|
|
.: |
|
|
ha-card{
|
|
border-color: transparent
|
|
}
|
|
mushroom-state-info$: |
|
|
.primary {
|
|
font-size: 15px !important;
|
|
position: relative;
|
|
top: -10px;
|
|
left: 3px;
|
|
overflow: visible !important;
|
|
color: var(primary-text-color);
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.primary:after {
|
|
{% if is_state(config.entity, 'on') %}
|
|
content: "Actiu";
|
|
{% else %}
|
|
content: "Error";
|
|
{% endif %}
|
|
//content: "{{ states(config.entity) }}";
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
{% if is_state(config.entity, 'on') %}
|
|
color: var(--google-green);
|
|
{% else %}
|
|
color: var(--google-red);
|
|
{% endif %}
|
|
font-weight: bolder;
|
|
top: 3.5px;
|
|
left: 140px;
|
|
width: 16px;
|
|
height: 16px;
|
|
font-size: 15px;
|
|
}
|
|
- type: custom:uptime-card
|
|
entity: binary_sensor.uptimekuma_proxmox
|
|
hours_to_show: 2
|
|
alignment:
|
|
tooltip_first: true
|
|
show:
|
|
footer: false
|
|
header: false
|
|
status: false
|
|
bar:
|
|
height: 40
|
|
round: 10
|
|
spacing: 15
|
|
amount: 8
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
position: relative;
|
|
top: 10px;
|
|
left: -70%;
|
|
overflow: visible !important;
|
|
width: 170%;
|
|
border-color: transparent;
|
|
}
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:stack-in-card
|
|
mode: horizontal
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
entity: binary_sensor.uptimekuma_kodi
|
|
primary: Kodi
|
|
icon_color: blue
|
|
name: Kodi
|
|
icon: mdi:kodi
|
|
fill_container: true
|
|
layout: horizontal
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
badge_icon: >
|
|
{% if is_state('binary_sensor.uptimekuma_kodi', 'on') %}
|
|
mdi:check
|
|
{% elif is_state('binary_sensor.uptimekuma_kodi',
|
|
'unknown') %}
|
|
mdi:help-circle
|
|
{% else %}
|
|
disabled
|
|
{% endif %}
|
|
badge_color: >
|
|
{% if is_state('binary_sensor.uptimekuma_kodi', 'on') %}
|
|
green
|
|
{% elif is_state('binary_sensor.uptimekuma_kodi',
|
|
'unknown') %}
|
|
orange
|
|
{% else %}
|
|
red
|
|
{% endif %}
|
|
card_mod:
|
|
style:
|
|
.: |
|
|
ha-card{
|
|
border-color: transparent
|
|
}
|
|
mushroom-state-info$: |
|
|
.primary {
|
|
font-size: 15px !important;
|
|
position: relative;
|
|
top: -10px;
|
|
left: 3px;
|
|
overflow: visible !important;
|
|
color: var(primary-text-color);
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.primary:after {
|
|
{% if is_state(config.entity, 'on') %}
|
|
content: "Actiu";
|
|
{% else %}
|
|
content: "Error";
|
|
{% endif %}
|
|
//content: "{{ states(config.entity) }}";
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
{% if is_state(config.entity, 'on') %}
|
|
color: var(--google-green);
|
|
{% else %}
|
|
color: var(--google-red);
|
|
{% endif %}
|
|
font-weight: bolder;
|
|
top: 3.5px;
|
|
left: 140px;
|
|
width: 16px;
|
|
height: 16px;
|
|
font-size: 15px;
|
|
}
|
|
- type: custom:uptime-card
|
|
entity: binary_sensor.uptimekuma_kodi
|
|
hours_to_show: 2
|
|
alignment:
|
|
tooltip_first: true
|
|
show:
|
|
footer: false
|
|
header: false
|
|
status: false
|
|
bar:
|
|
height: 40
|
|
round: 10
|
|
spacing: 15
|
|
amount: 8
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
position: relative;
|
|
top: 10px;
|
|
left: -70%;
|
|
overflow: visible !important;
|
|
width: 170%;
|
|
border-color: transparent;
|
|
}
|
|
- type: custom:stack-in-card
|
|
mode: horizontal
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
entity: binary_sensor.uptimekuma_truenas
|
|
primary: TrueNAS
|
|
icon_color: red
|
|
name: TrueNAS
|
|
icon: mdi:server-network
|
|
fill_container: true
|
|
layout: horizontal
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
badge_icon: >
|
|
{% if is_state('binary_sensor.uptimekuma_truenas', 'on')
|
|
%}
|
|
mdi:check
|
|
{% elif is_state('binary_sensor.uptimekuma_truenas',
|
|
'unknown') %}
|
|
mdi:help-circle
|
|
{% else %}
|
|
disabled
|
|
{% endif %}
|
|
badge_color: >
|
|
{% if is_state('binary_sensor.uptimekuma_truenas', 'on')
|
|
%}
|
|
green
|
|
{% elif is_state('binary_sensor.uptimekuma_truenas',
|
|
'unknown') %}
|
|
orange
|
|
{% else %}
|
|
red
|
|
{% endif %}
|
|
card_mod:
|
|
style:
|
|
.: |
|
|
ha-card{
|
|
border-color: transparent
|
|
}
|
|
mushroom-state-info$: |
|
|
.primary {
|
|
font-size: 15px !important;
|
|
position: relative;
|
|
top: -10px;
|
|
left: 3px;
|
|
overflow: visible !important;
|
|
color: var(primary-text-color);
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.primary:after {
|
|
{% if is_state(config.entity, 'on') %}
|
|
content: "Actiu";
|
|
{% else %}
|
|
content: "Error";
|
|
{% endif %}
|
|
//content: "{{ states(config.entity) }}";
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
{% if is_state(config.entity, 'on') %}
|
|
color: var(--google-green);
|
|
{% else %}
|
|
color: var(--google-red);
|
|
{% endif %}
|
|
font-weight: bolder;
|
|
top: 3.5px;
|
|
left: 140px;
|
|
width: 16px;
|
|
height: 16px;
|
|
font-size: 15px;
|
|
}
|
|
- type: custom:uptime-card
|
|
entity: binary_sensor.uptimekuma_truenas
|
|
hours_to_show: 2
|
|
alignment:
|
|
tooltip_first: true
|
|
show:
|
|
footer: false
|
|
header: false
|
|
status: false
|
|
bar:
|
|
height: 40
|
|
round: 10
|
|
spacing: 15
|
|
amount: 8
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
position: relative;
|
|
top: 10px;
|
|
left: -70%;
|
|
overflow: visible !important;
|
|
width: 170%;
|
|
border-color: transparent;
|
|
}
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:stack-in-card
|
|
mode: horizontal
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
entity: binary_sensor.uptimekuma_transmission
|
|
primary: Transmission
|
|
icon_color: blue
|
|
name: Kodi
|
|
icon: mdi:transmission-tower
|
|
fill_container: true
|
|
layout: horizontal
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
badge_icon: >
|
|
{% if is_state('binary_sensor.uptimekuma_transmission',
|
|
'on') %}
|
|
mdi:check
|
|
{% elif is_state('binary_sensor.uptimekuma_transmission',
|
|
'unknown') %}
|
|
mdi:help-circle
|
|
{% else %}
|
|
disabled
|
|
{% endif %}
|
|
badge_color: >
|
|
{% if is_state('binary_sensor.uptimekuma_transmission',
|
|
'on') %}
|
|
green
|
|
{% elif is_state('binary_sensor.uptimekuma_transmission',
|
|
'unknown') %}
|
|
orange
|
|
{% else %}
|
|
red
|
|
{% endif %}
|
|
card_mod:
|
|
style:
|
|
.: |
|
|
ha-card{
|
|
border-color: transparent
|
|
}
|
|
mushroom-state-info$: |
|
|
.primary {
|
|
font-size: 15px !important;
|
|
position: relative;
|
|
top: -10px;
|
|
left: 3px;
|
|
overflow: visible !important;
|
|
color: var(primary-text-color);
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.primary:after {
|
|
{% if is_state(config.entity, 'on') %}
|
|
content: "Actiu";
|
|
{% else %}
|
|
content: "Error";
|
|
{% endif %}
|
|
//content: "{{ states(config.entity) }}";
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
{% if is_state(config.entity, 'on') %}
|
|
color: var(--google-green);
|
|
{% else %}
|
|
color: var(--google-red);
|
|
{% endif %}
|
|
font-weight: bolder;
|
|
top: 3.5px;
|
|
left: 140px;
|
|
width: 16px;
|
|
height: 16px;
|
|
font-size: 15px;
|
|
}
|
|
- type: custom:uptime-card
|
|
entity: binary_sensor.uptimekuma_transmission
|
|
hours_to_show: 2
|
|
alignment:
|
|
tooltip_first: true
|
|
show:
|
|
footer: false
|
|
header: false
|
|
status: false
|
|
bar:
|
|
height: 40
|
|
round: 10
|
|
spacing: 15
|
|
amount: 8
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
position: relative;
|
|
top: 10px;
|
|
left: -70%;
|
|
overflow: visible !important;
|
|
width: 170%;
|
|
border-color: transparent;
|
|
}
|
|
- type: custom:stack-in-card
|
|
mode: horizontal
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
entity: binary_sensor.uptimekuma_sonarr
|
|
primary: Sonarr
|
|
icon_color: red
|
|
name: TrueNAS
|
|
icon: mdi:spoon-sugar
|
|
fill_container: true
|
|
layout: horizontal
|
|
tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
badge_icon: >
|
|
{% if is_state('binary_sensor.uptimekuma_sonarr', 'on')
|
|
%}
|
|
mdi:check
|
|
{% elif is_state('binary_sensor.uptimekuma_sonarr',
|
|
'unknown') %}
|
|
mdi:help-circle
|
|
{% else %}
|
|
disabled
|
|
{% endif %}
|
|
badge_color: >
|
|
{% if is_state('binary_sensor.uptimekuma_sonarr', 'on')
|
|
%}
|
|
green
|
|
{% elif is_state('binary_sensor.uptimekuma_sonarr',
|
|
'unknown') %}
|
|
orange
|
|
{% else %}
|
|
red
|
|
{% endif %}
|
|
card_mod:
|
|
style:
|
|
.: |
|
|
ha-card{
|
|
border-color: transparent
|
|
}
|
|
mushroom-state-info$: |
|
|
.primary {
|
|
font-size: 15px !important;
|
|
position: relative;
|
|
top: -10px;
|
|
left: 3px;
|
|
overflow: visible !important;
|
|
color: var(primary-text-color);
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.primary:after {
|
|
{% if is_state(config.entity, 'on') %}
|
|
content: "Actiu";
|
|
{% else %}
|
|
content: "Error";
|
|
{% endif %}
|
|
//content: "{{ states(config.entity) }}";
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
{% if is_state(config.entity, 'on') %}
|
|
color: var(--google-green);
|
|
{% else %}
|
|
color: var(--google-red);
|
|
{% endif %}
|
|
font-weight: bolder;
|
|
top: 3.5px;
|
|
left: 140px;
|
|
width: 16px;
|
|
height: 16px;
|
|
font-size: 15px;
|
|
}
|
|
- type: custom:uptime-card
|
|
entity: binary_sensor.uptimekuma_sonarr
|
|
hours_to_show: 2
|
|
alignment:
|
|
tooltip_first: true
|
|
show:
|
|
footer: false
|
|
header: false
|
|
status: false
|
|
bar:
|
|
height: 40
|
|
round: 10
|
|
spacing: 15
|
|
amount: 8
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
position: relative;
|
|
top: 10px;
|
|
left: -70%;
|
|
overflow: visible !important;
|
|
width: 170%;
|
|
border-color: transparent;
|
|
}
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
icon: mdi:devices
|
|
name: Devices
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: SobreMesa
|
|
secondary: |-
|
|
{% if is_state('switch.sobremesawol', 'on') -%}
|
|
Encendido
|
|
{%- else -%}
|
|
Apagado
|
|
{%- endif %}
|
|
icon: mdi:desktop-classic
|
|
icon_color: |-
|
|
{% if is_state('switch.sobremesawol', 'on') -%}
|
|
green
|
|
{%- else -%}
|
|
red
|
|
{%- endif %}
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
fill_container: true
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Proxmox
|
|
secondary: |-
|
|
{% if is_state('switch.proxmox', 'on') -%}
|
|
Encendido
|
|
{%- else -%}
|
|
Apagado
|
|
{%- endif %}
|
|
icon: mdi:desktop-classic
|
|
icon_color: |-
|
|
{% if is_state('switch.proxmox', 'on') -%}
|
|
green
|
|
{%- else -%}
|
|
red
|
|
{%- endif %}
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
fill_container: true
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Clouding
|
|
secondary: |-
|
|
{% if is_state('switch.portatil', 'on') -%}
|
|
Encendido
|
|
{%- else -%}
|
|
Apagado
|
|
{%- endif %}
|
|
icon: mdi:desktop-classic
|
|
icon_color: |-
|
|
{% if is_state('switch.portatil', 'on') -%}
|
|
green
|
|
{%- else -%}
|
|
red
|
|
{%- endif %}
|
|
badge_icon: ''
|
|
badge_color: ''
|
|
fill_container: true
|
|
multiline_secondary: false
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
icon: mdi:router-network
|
|
name: Router
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: IP Exterior
|
|
secondary: '{{ states(''sensor.sagemcom_f_st5670_ip_externa'')}}'
|
|
icon: mdi:ip-network
|
|
icon_color: red
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.sagemcom_f_st5670_estat_wan
|
|
name: Estat WAN
|
|
icon_color: red
|
|
fill_container: true
|
|
layout: horizontal
|
|
icon_type: icon
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.sagemcom_f_st5670_velocitat_de_baixada
|
|
name: Baixada
|
|
hours_to_show: 180
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0.5
|
|
color: '#5e81ac'
|
|
- value: 2
|
|
color: '#d08770'
|
|
- value: 5
|
|
color: '#bf616a'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.sagemcom_f_st5670_velocitat_de_pujada
|
|
name: Pujada
|
|
hours_to_show: 180
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 0.5
|
|
color: '#5e81ac'
|
|
- value: 2
|
|
color: '#d08770'
|
|
- value: 5
|
|
color: '#bf616a'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.sagemcom_f_st5670_velocitat_de_baixada
|
|
name: Baixada
|
|
icon_color: red
|
|
fill_container: true
|
|
primary_info: name
|
|
secondary_info: state
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.sagemcom_f_st5670_velocitat_de_pujada
|
|
name: Pujada
|
|
icon_color: red
|
|
fill_container: true
|
|
primary_info: name
|
|
secondary_info: state
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
icon: mdi:router-network
|
|
name: Torrent
|
|
- type: custom:mini-graph-card
|
|
name: Torrent
|
|
icon: mdi:download
|
|
entities:
|
|
- entity: sensor.transmission_velocitat_de_baixada
|
|
name: Baixada
|
|
- entity: sensor.transmission_velocitat_de_pujada
|
|
name: Pujada
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.transmission_torrents_totals
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: entities
|
|
entities:
|
|
- entity: sensor.system_monitor_last_boot
|
|
name: Últim reinici
|
|
secondary_info: none
|
|
- entity: update.home_assistant_core_update
|
|
icon: mdi:home-assistant
|
|
name: HA Core Update
|
|
- entity: update.home_assistant_operating_system_update
|
|
icon: mdi:home-assistant
|
|
name: HaOS Update
|
|
- entity: update.home_assistant_supervisor_update
|
|
icon: mdi:home-assistant
|
|
name: HA Supervisor Update
|
|
- entity: update.hacs_update
|
|
icon: hacs:hacs
|
|
theme: Rosé Pine
|
|
- theme: Rosé Pine
|
|
title: Seguretat
|
|
path: seguretat
|
|
icon: mdi:security
|
|
type: custom:vertical-layout
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-alarm-control-panel-card
|
|
entity: alarm_control_panel.prosegur
|
|
states:
|
|
- armed_away
|
|
- armed_home
|
|
name: Prosegur Alarma
|
|
fill_container: true
|
|
show_keypad: true
|
|
primary_info: name
|
|
secondary_info: state
|
|
icon_type: icon
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Càmera
|
|
icon: mdi:camera
|
|
- type: custom:swipe-card
|
|
cards:
|
|
- type: picture-glance
|
|
camera_view: live
|
|
title: Menjador
|
|
image: https://demo.home-assistant.io/stub_config/kitchen.png
|
|
entities: []
|
|
camera_image: camera.cam_menjador
|
|
theme: Rosé Pine
|
|
- type: picture-glance
|
|
camera_view: live
|
|
title: Menjador
|
|
image: https://demo.home-assistant.io/stub_config/kitchen.png
|
|
entities: []
|
|
camera_image: camera.tapo_c200_6b79_hd_stream
|
|
theme: Rosé Pine
|
|
- type: horizontal-stack
|
|
cards:
|
|
- show_state: false
|
|
show_name: true
|
|
camera_view: auto
|
|
type: picture-entity
|
|
entity: camera.prosegur_cam_entrada
|
|
camera_image: camera.prosegur_cam_entrada
|
|
theme: Mushroom Square Shadow
|
|
name: Entrada
|
|
tap_action:
|
|
action: call-service
|
|
service: prosegur.request_image
|
|
target:
|
|
entity_id: camera.prosegur_cam_entrada
|
|
- square: false
|
|
type: grid
|
|
cards:
|
|
- square: true
|
|
type: grid
|
|
cards:
|
|
- show_name: false
|
|
show_icon: false
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
theme: Mushroom Square Shadow
|
|
- show_name: false
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: script.camara_amunt
|
|
icon: mdi:chevron-up
|
|
show_state: false
|
|
theme: Mushroom Square Shadow
|
|
- show_name: false
|
|
show_icon: false
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
theme: Mushroom Square Shadow
|
|
- square: true
|
|
type: grid
|
|
cards:
|
|
- show_name: false
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: script.camara_esquerra
|
|
icon: mdi:chevron-left
|
|
theme: Mushroom Square Shadow
|
|
- show_name: false
|
|
show_icon: false
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
theme: Mushroom Square Shadow
|
|
- show_name: false
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: script.camara_dreta
|
|
icon: mdi:chevron-right
|
|
theme: Mushroom Square Shadow
|
|
- type: grid
|
|
cards:
|
|
- show_name: false
|
|
show_icon: false
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
theme: Mushroom Square Shadow
|
|
- show_name: false
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: script.camara_avall
|
|
icon: mdi:chevron-down
|
|
theme: Mushroom Square Shadow
|
|
- show_name: false
|
|
show_icon: false
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
theme: Mushroom Square Shadow
|
|
columns: 1
|
|
- type: horizontal-stack
|
|
cards:
|
|
- show_state: false
|
|
show_name: true
|
|
camera_view: auto
|
|
type: picture-entity
|
|
entity: camera.prosegur_cam_entrada
|
|
camera_image: camera.prosegur_cam_entrada
|
|
theme: Mushroom Square Shadow
|
|
name: Entrada
|
|
tap_action:
|
|
action: call-service
|
|
service: prosegur.request_image
|
|
target:
|
|
entity_id: camera.prosegur_cam_entrada
|
|
hold_action:
|
|
action: more-info
|
|
- show_state: false
|
|
show_name: true
|
|
camera_view: auto
|
|
type: picture-entity
|
|
entity: camera.prosegur_cam_habitacion
|
|
camera_image: camera.prosegur_cam_habitacion
|
|
name: Habitació
|
|
theme: Rosé Pine
|
|
tap_action:
|
|
action: call-service
|
|
service: prosegur.request_image
|
|
target:
|
|
entity_id: camera.prosegur_cam_habitacion
|
|
hold_action:
|
|
action: more-info
|
|
- show_state: false
|
|
show_name: true
|
|
camera_view: auto
|
|
type: picture-entity
|
|
entity: camera.prosegur_cam_terraza
|
|
camera_image: camera.prosegur_cam_terraza
|
|
name: Terrassa
|
|
theme: Mushroom Square Shadow
|
|
tap_action:
|
|
action: call-service
|
|
service: prosegur.request_image
|
|
target:
|
|
entity_id: camera.prosegur_cam_terraza
|
|
hold_action:
|
|
action: more-info
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Moviment
|
|
icon: mdi:motion-sensor
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.motion_pasillo_zigbee_occupancy
|
|
fill_container: false
|
|
icon_color: green
|
|
name: Passadís
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.motion_pasillo_zigbee_battery
|
|
name: Bateria
|
|
icon_color: green
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
name: Bustia
|
|
icon_color: accent
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.motion_buzon_zigbee_battery
|
|
name: Bateria
|
|
icon_color: white
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.motion_escondite_zigbee_occupancy
|
|
name: Carqui
|
|
icon_color: accent
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.motion_escondite_zigbee_battery_low
|
|
name: Bateria
|
|
icon_color: green
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Portes
|
|
icon: mdi:door
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_habitacion_zigbee_contact
|
|
fill_container: false
|
|
icon_color: green
|
|
name: Habitació
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_habitacion_zigbee_battery_low
|
|
name: Bateria
|
|
icon_color: green
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_salon_zigbee_contact
|
|
name: Menjador
|
|
icon_color: accent
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_salon_zigbee_battery_low
|
|
name: Bateria
|
|
icon_color: white
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_oficina_zigbee_contact
|
|
name: Menjador
|
|
icon_color: accent
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_oficina_zigbee_battery_low
|
|
name: Bateria
|
|
icon_color: white
|
|
- show_state: true
|
|
show_name: true
|
|
camera_view: live
|
|
type: picture-entity
|
|
image: https://demo.home-assistant.io/stub_config/bedroom.png
|
|
entity: camera.camera_carqui_esp32_camara
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: light.camera_carqui_esp32_luz_camara
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:frigate-card
|
|
cameras:
|
|
- live_provider: ha
|
|
camera_entity: camera.cam_menjador
|
|
title: Salón
|
|
icon: mdi:sofa
|
|
hide: false
|
|
- camera_entity: camera.tapo_c200_6b79_hd_stream
|
|
menu:
|
|
style: overlay
|
|
position: top
|
|
alignment: left
|
|
button_size: 28
|
|
buttons:
|
|
frigate:
|
|
enabled: true
|
|
recordings:
|
|
enabled: false
|
|
image:
|
|
enabled: false
|
|
snapshots:
|
|
enabled: true
|
|
live:
|
|
preload: true
|
|
controls:
|
|
next_previous:
|
|
style: chevrons
|
|
size: 20
|
|
thumbnails:
|
|
mode: right
|
|
media: snapshots
|
|
size: 75
|
|
title:
|
|
mode: none
|
|
timeline:
|
|
mode: none
|
|
draggable: false
|
|
lazy_unload: all
|
|
layout:
|
|
fit: contain
|
|
auto_play: all
|
|
timeline:
|
|
show_recordings: true
|
|
controls:
|
|
thumbnails:
|
|
show_details: true
|
|
elements:
|
|
- type: custom:frigate-card-conditional
|
|
conditions:
|
|
view:
|
|
- live
|
|
elements:
|
|
- type: icon
|
|
icon: mdi:chevron-up
|
|
style:
|
|
background: rgba(255, 255, 255)
|
|
border-radius: 2px
|
|
right: 25px
|
|
bottom: 100px
|
|
tap_action:
|
|
action: call-service
|
|
service: script.camara_amunt
|
|
- type: icon
|
|
icon: mdi:chevron-down
|
|
style:
|
|
background: rgba(255, 255, 255)
|
|
border-radius: 2px
|
|
right: 25px
|
|
bottom: 50px
|
|
tap_action:
|
|
action: call-service
|
|
service: script.camara_avall
|
|
- type: icon
|
|
icon: mdi:chevron-left
|
|
style:
|
|
background: rgba(255, 255, 255)
|
|
border-radius: 2px
|
|
right: 50px
|
|
bottom: 75px
|
|
tap_action:
|
|
action: call-service
|
|
service: script.camara_esquerra
|
|
- type: icon
|
|
icon: mdi:chevron-right
|
|
style:
|
|
background: rgba(255, 255, 255)
|
|
border-radius: 2px
|
|
right: 0px
|
|
bottom: 75px
|
|
tap_action:
|
|
action: call-service
|
|
service: script.camara_dreta
|
|
view:
|
|
default: live
|
|
dark_mode: auto
|
|
camera_select: clips
|
|
update_force: true
|
|
update_cycle_camera: false
|
|
scan:
|
|
enabled: false
|
|
dimensions:
|
|
aspect_ratio_mode: static
|
|
image:
|
|
mode: camera
|
|
performance:
|
|
style:
|
|
box_shadow: true
|
|
border_radius: true
|
|
- title: Mapa casa
|
|
path: mapa-casa
|
|
type: panel
|
|
icon: mdi:map
|
|
badges: []
|
|
cards:
|
|
- type: picture-elements
|
|
elements:
|
|
- type: state-icon
|
|
entity: binary_sensor.puerta_habitacion_tuyazb_contact
|
|
style:
|
|
top: 50%
|
|
left: 91%
|
|
image: >-
|
|
https://nuvol.arrel.cloud/index.php/apps/files_sharing/publicpreview/rXjdC7RbqddGLTX?file=/&fileId=561746&x=1920&y=1080&a=true&etag=9530081e5b2132453c70f2c32aaf7d8f
|
|
- title: Llums
|
|
path: llums
|
|
icon: mdi:lightbulb-group
|
|
theme: Rosé Pine
|
|
badges: []
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Llums i leds
|
|
icon: mdi:led-on
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_menjador_sofa_zigbee
|
|
use_light_color: false
|
|
show_brightness_control: true
|
|
show_color_control: true
|
|
collapsible_controls: true
|
|
name: Bombilla Sofa
|
|
icon_color: accent
|
|
fill_container: true
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_menjador_lectura_tuya
|
|
show_brightness_control: true
|
|
name: Bombilla Comedor
|
|
show_color_control: true
|
|
collapsible_controls: true
|
|
show_color_temp_control: false
|
|
use_light_color: false
|
|
fill_container: true
|
|
- type: custom:mushroom-light-card
|
|
entity: light.bulb_habitacion_zigbee
|
|
name: Bombilla Habitación
|
|
fill_container: true
|
|
collapsible_controls: true
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-light-card
|
|
entity: light.leds_pasillo
|
|
name: Passadís - Leds
|
|
show_color_control: true
|
|
show_brightness_control: true
|
|
icon_color: teal
|
|
icon: mdi:led-strip
|
|
use_light_color: true
|
|
fill_container: true
|
|
collapsible_controls: true
|
|
- type: custom:mushroom-light-card
|
|
entity: light.leds_office_wled
|
|
name: Oficina - Leds
|
|
show_color_control: true
|
|
show_brightness_control: true
|
|
icon_color: pink
|
|
icon: mdi:led-strip
|
|
use_light_color: true
|
|
fill_container: true
|
|
collapsible_controls: true
|
|
show_color_temp_control: false
|
|
- type: custom:mushroom-light-card
|
|
entity: light.tiraneon_2
|
|
name: Oficina - NEON
|
|
show_color_control: true
|
|
show_brightness_control: true
|
|
icon_color: pink
|
|
icon: mdi:led-strip
|
|
use_light_color: true
|
|
fill_container: true
|
|
collapsible_controls: true
|
|
show_color_temp_control: false
|
|
- type: custom:mushroom-light-card
|
|
entity: light.lamparamesa_officina_meross
|
|
name: Lampara Taula
|
|
show_color_control: true
|
|
show_brightness_control: true
|
|
icon_color: pink
|
|
icon: mdi:lamp
|
|
use_light_color: true
|
|
fill_container: true
|
|
collapsible_controls: true
|
|
show_color_temp_control: false
|
|
- type: custom:mushroom-light-card
|
|
entity: light.panell_oficina_wled
|
|
name: Lampara Taula
|
|
show_color_control: true
|
|
show_brightness_control: true
|
|
icon_color: pink
|
|
icon: mdi:led-strip
|
|
use_light_color: true
|
|
fill_container: true
|
|
collapsible_controls: true
|
|
show_color_temp_control: false
|
|
- title: LAB
|
|
path: lab
|
|
icon: mdi:dev-to
|
|
theme: Rosé Pine
|
|
type: custom:vertical-layout
|
|
badges: []
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: input_boolean.ropa_tentida
|
|
state: 'on'
|
|
card:
|
|
type: markdown
|
|
content: '**La ropa està por recoger**'
|
|
theme: Rosé Pine
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: input_boolean.ropa_tentida
|
|
state: 'on'
|
|
card:
|
|
type: markdown
|
|
content: '**La ropa està por recoger**'
|
|
theme: Rosé Pine
|
|
- type: custom:stack-in-card
|
|
mode: vertical
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
card_mod:
|
|
style: |
|
|
ha-card {
|
|
--chip-font-size: 0.3em;
|
|
--chip-icon-size: 0.5em;
|
|
--chip-border-width: 0;
|
|
--chip-box-shadow: none;
|
|
--chip-background: none;
|
|
--chip-border: none;
|
|
--chip-spacing: none;
|
|
--chip-font-weight: bold;
|
|
}
|
|
chips:
|
|
- type: template
|
|
entity: input_boolean.show_temperature
|
|
icon_color: ''
|
|
icon: |-
|
|
{% if is_state('input_boolean.show_temperature','off') %}
|
|
mdi:chevron-up
|
|
{% else %}
|
|
mdi:chevron-down
|
|
{% endif %}
|
|
use_entity_picture: true
|
|
double_tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
tap_action:
|
|
action: toggle
|
|
content: ''
|
|
- type: custom:upcoming-media-card
|
|
entity: sensor.trakt_upcoming_shows
|
|
title: Upcoming Episodes
|
|
image_style: fanart
|
|
hide_empty: true
|
|
title_text: $title
|
|
line1_text: $episode
|
|
line2_text: $number
|
|
line3_text: $day, $date $time
|
|
line4_text: $empty
|
|
max: 10
|
|
- square: false
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: ''
|
|
icon: mdi:power
|
|
icon_color: green
|
|
layout: vertical
|
|
secondary: ''
|
|
entity: light.wled_2
|
|
tap_action:
|
|
action: call-service
|
|
service: light.toggle
|
|
target:
|
|
entity_id:
|
|
- light.wledambie_links
|
|
- light.wledambie_rechts
|
|
data: {}
|
|
card_mod:
|
|
style:
|
|
mushroom-shape-icon$: |
|
|
ha-icon {
|
|
--icon-animation: {% if is_state('light.wledambie_rechts', 'on') %}pulse 3s infinite{% else %}none{% endif %};
|
|
}
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
transform: scale(1.2);
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
- type: custom:mushroom-template-card
|
|
primary: ''
|
|
icon: mdi:upload-network-outline
|
|
icon_color: '#FF69B4'
|
|
layout: vertical
|
|
secondary: ''
|
|
entity: switch.wled_sync_send_2
|
|
tap_action:
|
|
action: call-service
|
|
service: switch.toggle
|
|
target:
|
|
entity_id: switch.wled_sync_send_2
|
|
data: {}
|
|
card_mod:
|
|
style:
|
|
mushroom-shape-icon$: |
|
|
ha-icon {
|
|
--icon-animation: {% if is_state('switch.wled_sync_send_2', 'on') %}pulse 3s infinite{% else %}none{% endif %};
|
|
}
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
transform: scale(1.2);
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
- type: custom:mushroom-template-card
|
|
primary: ''
|
|
icon: mdi:download-network
|
|
icon_color: '#800080'
|
|
layout: vertical
|
|
secondary: ''
|
|
entity: switch.wled_sync_receive_2
|
|
tap_action:
|
|
action: call-service
|
|
service: switch.toggle
|
|
target:
|
|
entity_id: switch.wled_sync_receive_2
|
|
data: {}
|
|
card_mod:
|
|
style:
|
|
mushroom-shape-icon$: |
|
|
ha-icon {
|
|
--icon-animation: {% if is_state('switch.wled_sync_receive_2', 'on') %}pulse 3s infinite{% else %}none{% endif %};
|
|
}
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
transform: scale(1.2);
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
- type: custom:mushroom-template-card
|
|
primary: ''
|
|
icon: mdi:restart
|
|
icon_color: red
|
|
layout: vertical
|
|
secondary: ''
|
|
entity: button.wled_reinicia_2
|
|
tap_action:
|
|
action: call-service
|
|
service: switch.toggle
|
|
target:
|
|
entity_id: button.wled_reinicia_2
|
|
card_mod:
|
|
style:
|
|
mushroom-shape-icon$: |
|
|
ha-icon {
|
|
--icon-animation: {% if is_state('switch.hyph_ambie_tv_component_smoothing', 'on') %}pulse 3s infinite{% else %}none{% endif %};
|
|
}
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
transform: scale(1.2);
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
columns: 6
|
|
- type: custom:blind-card
|
|
title: My blinds
|
|
entities:
|
|
- entity: cover.motord_menjador_esp32_blind
|
|
name: Left blind
|
|
buttons_position: right
|
|
title_position: bottom
|
|
blind_color: '#343E4F'
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:local-conditional-card
|
|
id: tab1
|
|
default: show
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: custom:paper-buttons-row
|
|
styles:
|
|
background: var(--ha-card-background)
|
|
border-radius: 0px
|
|
justify-content: center
|
|
width: max-content
|
|
margin: 0 auto 12px auto;
|
|
buttons:
|
|
- layout: name
|
|
name: Tab1
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: show
|
|
- tab2: hide
|
|
- tab3: hide
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: var(--app-header-background-color)
|
|
border-radius: 0px
|
|
height: 24px
|
|
display: flex
|
|
- layout: name
|
|
name: Tab2
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: hide
|
|
- tab2: show
|
|
- tab3: hide
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: none
|
|
border-radius: 20px
|
|
height: 24px
|
|
display: flex
|
|
- layout: name
|
|
name: Tab3
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: hide
|
|
- tab2: hide
|
|
- tab3: show
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: none
|
|
border-radius: 20px
|
|
height: 24px
|
|
display: flex
|
|
- type: custom:mushroom-title-card
|
|
title: tab 1
|
|
subtitle: ffefea
|
|
- type: custom:local-conditional-card
|
|
id: tab2
|
|
default: hide
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: custom:paper-buttons-row
|
|
styles:
|
|
background: var(--ha-card-background)
|
|
border-radius: 0px
|
|
justify-content: center
|
|
width: max-content
|
|
margin: 0 auto 0 auto;
|
|
buttons:
|
|
- layout: name
|
|
name: Tab1
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: show
|
|
- tab2: hide
|
|
- tab3: hide
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: none
|
|
border-radius: 20px
|
|
height: 24px
|
|
display: flex
|
|
- layout: name
|
|
name: Tab2
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: hide
|
|
- tab2: show
|
|
- tab3: hide
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: var(--app-header-background-color)
|
|
border-radius: 0px
|
|
height: 24px
|
|
display: flex
|
|
- layout: name
|
|
name: Tab3
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: hide
|
|
- tab2: hide
|
|
- tab3: show
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: none
|
|
border-radius: 20px
|
|
height: 24px
|
|
display: flex
|
|
- type: custom:mushroom-title-card
|
|
title: tab 2
|
|
subtitle: ''
|
|
- type: custom:local-conditional-card
|
|
id: tab3
|
|
default: hide
|
|
card:
|
|
type: vertical-stack
|
|
cards:
|
|
- type: custom:paper-buttons-row
|
|
styles:
|
|
background: var(--ha-card-background)
|
|
border-radius: 0px
|
|
justify-content: center
|
|
width: max-content
|
|
margin: 0 auto 0 auto;
|
|
buttons:
|
|
- layout: name
|
|
name: Tab1
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: show
|
|
- tab2: hide
|
|
- tab3: hide
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: none
|
|
border-radius: 20px
|
|
height: 24px
|
|
display: flex
|
|
- layout: name
|
|
name: Tab2
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: hide
|
|
- tab2: show
|
|
- tab3: hide
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: none
|
|
border-radius: 20px
|
|
height: 24px
|
|
display: flex
|
|
- layout: name
|
|
name: Tab3
|
|
tap_action:
|
|
action: fire-dom-event
|
|
local_conditional_card:
|
|
action: set
|
|
ids:
|
|
- tab1: hide
|
|
- tab2: hide
|
|
- tab3: show
|
|
styles:
|
|
name:
|
|
color: var(--text-primary-color)
|
|
padding: 0 22px
|
|
button:
|
|
background: var(--app-header-background-color)
|
|
border-radius: 0px
|
|
height: 24px
|
|
display: flex
|
|
- type: custom:mushroom-title-card
|
|
title: tab 3
|
|
- type: todo-list
|
|
entity: todo.llista_compra
|
|
theme: Rosé Pine
|
|
hide_completed: true
|
|
- type: custom:mushroom-cover-card
|
|
entity: cover.motord_menjador_esp32_blind
|
|
name: Persiana
|
|
show_position_control: true
|
|
show_tilt_position_control: false
|
|
show_buttons_control: true
|
|
fill_container: true
|
|
- type: custom:blind-card
|
|
title: My blinds
|
|
entities:
|
|
- entity: cover.motore_menjador_esp32_blind
|
|
name: Left blind
|
|
buttons_position: right
|
|
title_position: bottom
|
|
blind_color: '#343E4F'
|
|
- theme: Rosé Pine
|
|
title: Home
|
|
icon: mdi:home
|
|
cards:
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Habitacions
|
|
icon: mdi:home
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Serveis
|
|
icon: mdi:home-percent
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Neteja
|
|
secondary: '{{ state_attr(''vacuum.mayormono'', ''battery_level'') }}%'
|
|
icon: mdi:vacuum
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/neteja
|
|
icon_color: purple
|
|
badge_icon: ''
|
|
- type: custom:mushroom-template-card
|
|
primary: Regadiu
|
|
secondary: '{{ states("sensor.agua_terraza_zigbee_battery")}}%'
|
|
icon: mdi:pipe-valve
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/reg
|
|
icon_color: blue
|
|
badge_icon: |-
|
|
{% if states('sensor.agua_terraza_zigbee_battery') < "20" -%}
|
|
mdi:battery
|
|
{%- endif %}
|
|
badge_color: red
|
|
- type: custom:mushroom-template-card
|
|
primary: Hort
|
|
secondary: '{{state_attr("weather.pirateweather", "temperature")}} °C'
|
|
icon: mdi:flower
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/hort
|
|
icon_color: lime
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Rentadora
|
|
secondary: >-
|
|
{% if is_state('input_select.washingmachine_status', "Apagada")
|
|
-%}
|
|
Apagado
|
|
{% elif is_state('input_select.washingmachine_status',
|
|
"Funcionando") -%}
|
|
Funcionando
|
|
{% elif is_state('input_select.washingmachine_status',
|
|
"Terminando") -%}
|
|
Terminado
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
icon: mdi:washing-machine
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/rentadora
|
|
icon_color: blue
|
|
- type: custom:mushroom-template-card
|
|
primary: Print 3D
|
|
secondary: >-
|
|
{% if is_state('sensor.ender3v3se_current_state', "Operational")
|
|
-%}
|
|
Activa
|
|
{% elif is_state('sensor.ender3v3se_current_state', "Printing")
|
|
-%}
|
|
Imprimint
|
|
{% elif is_state('sensor.ender3v3se_current_state', "unavailable")
|
|
-%}
|
|
Apagada
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
icon: mdi:printer-3d
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/print3d
|
|
icon_color: >-
|
|
{% if is_state('sensor.ender3v3se_current_state', "Operational")
|
|
-%}
|
|
blue
|
|
{% elif is_state('sensor.ender3v3se_current_state', "Printing")
|
|
-%}
|
|
green
|
|
{% elif is_state('sensor.ender3v3se_current_state', "unavailable")
|
|
-%}
|
|
grey
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: Media
|
|
secondary: |-
|
|
{% if is_state("media_player.spotify_t3rr0rz0n3", "playing") -%}
|
|
{{state_attr("media_player.spotify_t3rr0rz0n3", "media_title")}}
|
|
{%- elif is_state("media_player.kodi", "playing") -%}
|
|
{{state_attr("media_player.kodi", "media_title")}}
|
|
{%- elif is_state("media_player.raspiaudio", "playing") -%}
|
|
Reproduint
|
|
{%- elif is_state("media_player.dormitorio", "playing") -%}
|
|
{{state_attr("media_player.dormitorio", "media_title")}}
|
|
{%- else -%}
|
|
Res
|
|
{%- endif %}
|
|
icon: mdi:play-box
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/reproductors
|
|
icon_color: lime
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Temps
|
|
secondary: |-
|
|
{% if states('weather.pirateweather') == "clear-night" -%}
|
|
Nit clara
|
|
{%- elif states('weather.pirateweather') == "sunny" -%}
|
|
Assolellat
|
|
{%- elif states('weather.pirateweather') == "cloudy" -%}
|
|
Ennuvolat
|
|
{%- elif states('weather.pirateweather') == "fog" -%}
|
|
Boira
|
|
{%- elif states('weather.pirateweather') == "partlycloudy" -%}
|
|
Parcialment ennuvolat
|
|
{%- elif states('weather.pirateweather') == "rainy" -%}
|
|
Plujós
|
|
{%- elif states('weather.pirateweather') == "snowy" -%}
|
|
Nevat
|
|
{%- elif states('weather.pirateweather') == "windy" -%}
|
|
Ventós
|
|
{%- else -%}
|
|
Sense dades
|
|
{%- endif %}
|
|
icon: mdi:weather-cloudy
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/temps
|
|
icon_color: blue
|
|
- type: custom:mushroom-template-card
|
|
primary: Planificador
|
|
secondary: ''
|
|
icon: mdi:calendar-arrow-right
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/planificador
|
|
icon_color: deep-orange
|
|
- type: custom:mushroom-template-card
|
|
primary: Escenes
|
|
secondary: ''
|
|
icon: mdi:lightbulb-on
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/escenes
|
|
icon_color: brown
|
|
- square: false
|
|
type: grid
|
|
cards:
|
|
- type: entity
|
|
entity: sensor.anniversary_cap_d_any
|
|
name: Cap d'Any
|
|
unit: dies
|
|
state_color: false
|
|
theme: Mushroom Square Shadow
|
|
- type: entity
|
|
entity: sensor.anniversary_nadal
|
|
name: Nadal
|
|
unit: dies
|
|
theme: Mushroom Square Shadow
|
|
state_color: false
|
|
- type: entity
|
|
entity: sensor.anniversary_diadanacional
|
|
unit: dies
|
|
name: Diada Nacional
|
|
icon: mdi:star-box
|
|
theme: Mushroom Square Shadow
|
|
columns: 3
|
|
type: sections
|
|
sections:
|
|
- type: grid
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Casa
|
|
secondary: ''
|
|
icon: mdi:home
|
|
icon_color: blue
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: casa
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
grid_options:
|
|
columns: 3
|
|
rows: 2
|
|
- type: custom:mushroom-template-card
|
|
primary: Llums
|
|
secondary: ''
|
|
icon: mdi:lightbulb
|
|
icon_color: yellow
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/llums
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
grid_options:
|
|
columns: 3
|
|
rows: 2
|
|
- type: custom:mushroom-template-card
|
|
primary: Seguretat
|
|
secondary: ''
|
|
icon: mdi:shield
|
|
icon_color: green
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/seguretat
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
grid_options:
|
|
columns: 3
|
|
rows: 2
|
|
- type: custom:mushroom-template-card
|
|
primary: LAB
|
|
secondary: ''
|
|
icon: mdi:dev-to
|
|
icon_color: purple
|
|
fill_container: true
|
|
layout: vertical
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /ha-santpau/lab
|
|
badge_icon: ''
|
|
multiline_secondary: false
|
|
grid_options:
|
|
columns: 3
|
|
rows: 2
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: entity
|
|
entity: group.home_bulbs
|
|
use_entity_picture: false
|
|
name: Llums
|
|
content_info: name
|
|
icon_color: light-blue
|
|
- type: entity
|
|
entity: group.home_leds
|
|
name: Leds
|
|
content_info: name
|
|
icon: mdi:led-strip
|
|
icon_color: deep-orange
|
|
- type: entity
|
|
entity: group.home_switchs
|
|
icon_color: light-green
|
|
icon: mdi:power-plug
|
|
content_info: name
|
|
name: Endolls
|
|
- type: spacer
|
|
- type: entity
|
|
entity: input_boolean.modo_vacaciones
|
|
tap_action:
|
|
action: toggle
|
|
name: Vacances
|
|
content_info: name
|
|
icon_color: red
|
|
icon: mdi:airplane
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions
|
|
icon: mdi:room-service
|
|
icon_color: green
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis
|
|
icon: mdi:face-agent
|
|
icon_color: green
|
|
- type: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: ''
|
|
icon: mdi:tablet-dashboard
|
|
icon_color: green
|
|
- type: custom:simple-weather-card
|
|
entity: weather.pirateweather
|
|
name: Mataró
|
|
backdrop: false
|
|
primary_info:
|
|
- wind_bearing
|
|
- humidity
|
|
secondary_info:
|
|
- precipitation
|
|
- precipitation_probability
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: light.home_leds
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: light.home_leds
|
|
icon_color: deep-purple
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: light.home_bulbs
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: group.home_bulbs
|
|
icon: mdi:lightbulb
|
|
content_info: state
|
|
icon_color: yellow
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: switch.home_plug
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: group.home_switchs
|
|
icon: mdi:power-plug
|
|
content_info: state
|
|
icon_color: red
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.home_motion
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: binary_sensor.home_motion
|
|
icon: mdi:motion-sensor
|
|
icon_color: pink
|
|
content_info: state
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.puerta_oficinaisa_zigbee_contact
|
|
state: 'off'
|
|
chip:
|
|
type: template
|
|
icon: mdi:webcam
|
|
icon_color: red
|
|
content: Isa Meeting
|
|
entity: binary_sensor.puerta_oficinaisa_zigbee_contact
|
|
- type: spacer
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: sensor.hacs
|
|
state_not: '0'
|
|
chip:
|
|
type: entity
|
|
entity: sensor.hacs
|
|
content_info: name
|
|
icon_color: green
|
|
name: Updates
|
|
icon: hacs:hacs
|
|
tap_action:
|
|
action: url
|
|
url_path: https://santpaumataro.duckdns.org:8123/hacs/entry
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: input_select.washingmachine_status
|
|
state: Funcionando
|
|
chip:
|
|
type: entity
|
|
entity: input_select.washingmachine_status
|
|
content_info: none
|
|
icon_color: light-blue
|
|
- type: conditional
|
|
conditions:
|
|
- condition: state
|
|
entity: binary_sensor.ender3v3se_printing
|
|
state: 'on'
|
|
chip:
|
|
type: entity
|
|
entity: sensor.ender3v3se_current_state
|
|
content_info: none
|
|
icon_color: green
|
|
alignment: left
|
|
column_span: 1
|
|
- type: grid
|
|
cards:
|
|
- type: heading
|
|
heading: Habitacions
|
|
heading_style: title
|
|
icon: mdi:bed-king
|
|
badges:
|
|
- type: entity
|
|
show_state: true
|
|
show_icon: true
|
|
entity: light.home_leds
|
|
visibility:
|
|
- condition: state
|
|
entity: light.home_leds
|
|
state: 'on'
|
|
icon: mdi:led-strip
|
|
name: Leds
|
|
color: yellow
|
|
state_content: state
|
|
- type: entity
|
|
entity: light.home_bulbs
|
|
- type: entity
|
|
entity: switch.home_plug
|
|
- type: entity
|
|
show_state: false
|
|
show_icon: true
|
|
entity: binary_sensor.home_motion
|
|
icon: mdi:motion-sensor
|
|
color: red
|
|
visibility:
|
|
- condition: state
|
|
entity: binary_sensor.home_motion
|
|
state: 'on'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Menjador
|
|
secondary: >-
|
|
{{ state_attr('climate.termostat_menjador_zigbee',
|
|
'current_temperature') }} °C
|
|
icon: mdi:sofa
|
|
icon_color: |
|
|
{% if is_state('light.bulb_menjador_sofa_tuya','on') %}
|
|
orange
|
|
{% else %}
|
|
white
|
|
{% endif %}
|
|
entity: light.bulb_salon_localtuya
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/menjador
|
|
- type: custom:mushroom-template-card
|
|
primary: Cuina
|
|
secondary: '{{ states(''sensor.temperature_cocina_zigbee_temperature'')}} °C'
|
|
icon: mdi:fridge
|
|
icon_color: light-green
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/cuina
|
|
entity: sensor.temperature_cocina_zigbee_temperature
|
|
- type: custom:mushroom-template-card
|
|
primary: Niu d'amor
|
|
secondary: >-
|
|
{{
|
|
states('sensor.temperature_habitacion_zigbee_temperature')}}
|
|
°C
|
|
icon: mdi:robot-love
|
|
icon_color: deep-purple
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/niu-de-amor
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Oficina Jesús
|
|
secondary: >-
|
|
{{ states('sensor.temperature_oficina_zigbee_temperature')}}
|
|
°C
|
|
icon: mdi:table-chair
|
|
icon_color: pink
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/oficina
|
|
entity: sensor.0xa4c13883b54a5af0_temperature
|
|
fill_container: true
|
|
multiline_secondary: false
|
|
- type: custom:mushroom-template-card
|
|
primary: Oficina Isa
|
|
secondary: >-
|
|
{{
|
|
states('sensor.temperature_oficinaisa_zigbee_temperature')}}
|
|
°C
|
|
icon: mdi:table-chair
|
|
icon_color: pink
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/oficinilla
|
|
entity: sensor.temperature_oficinaisa_zigbee_temperature
|
|
fill_container: true
|
|
- type: custom:mushroom-template-card
|
|
primary: Carqui
|
|
secondary: '{{ states("sensor.pet_feeder_comida_mensual")}} Gr'
|
|
icon: mdi:cat
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-serveis/carqui
|
|
icon_color: amber
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Terrassa
|
|
secondary: >-
|
|
{{ states('sensor.temperature_terraza_zigbee_temperature')}}
|
|
°C
|
|
icon: mdi:balcony
|
|
icon_color: blue
|
|
entity: sensor.temperature_terraza_zigbee_temperature
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/terrassa
|
|
- type: custom:mushroom-template-card
|
|
primary: Passadís
|
|
secondary: '{{ states(''binary_sensor.motion_pasillo_zigbee_occupancy'')}} '
|
|
icon: mdi:home-switch
|
|
icon_color: teal
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/passadis
|
|
- type: custom:mushroom-template-card
|
|
primary: Menjador
|
|
secondary: >-
|
|
{{ state_attr('climate.termostat_menjador_zigbee',
|
|
'current_temperature') }} °C
|
|
icon: mdi:sofa
|
|
icon_color: |
|
|
{% if is_state('light.bulb_menjador_sofa_tuya','on') %}
|
|
orange
|
|
{% else %}
|
|
white
|
|
{% endif %}
|
|
entity: light.bulb_salon_localtuya
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/menjador
|
|
grid_options:
|
|
columns: 4
|
|
rows: 1
|
|
- type: custom:mushroom-template-card
|
|
primary: Cuina
|
|
secondary: '{{ states(''sensor.temperature_cocina_zigbee_temperature'')}} °C'
|
|
icon: mdi:fridge
|
|
icon_color: light-green
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/cuina
|
|
entity: sensor.temperature_cocina_zigbee_temperature
|
|
grid_options:
|
|
columns: 4
|
|
rows: 1
|
|
- type: custom:mushroom-template-card
|
|
primary: Niu d'amor
|
|
secondary: '{{ states(''sensor.temperature_habitacion_zigbee_temperature'')}} °C'
|
|
icon: mdi:robot-love
|
|
icon_color: deep-purple
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /santpau-habitacions/niu-de-amor
|
|
grid_options:
|
|
columns: 4
|
|
rows: 1
|
|
max_columns: 1
|
|
badges:
|
|
- type: custom:mushroom-template-badge
|
|
entity: binary_sensor.smoke_cocina_zigbee_smoke
|
|
icon: mdi:fridge-alert
|
|
content: FUM DETECTAT!
|
|
visibility:
|
|
- condition: state
|
|
entity: binary_sensor.smoke_cocina_zigbee_smoke
|
|
state: 'on'
|
|
color: red
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: alarm_control_panel.prosegur
|
|
color: blue
|
|
show_entity_picture: false
|
|
icon: mdi:shield-home
|
|
name: Prosegur
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: person.t3rr0rz0n3
|
|
color: deep-purple
|
|
show_entity_picture: true
|
|
name: t3rr0rz0n3
|
|
icon: mdi:account
|
|
state_content: state
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: person.spectrumgirl
|
|
color: purple
|
|
show_entity_picture: true
|
|
name: Spectrum
|
|
icon: mdi:account
|
|
state_content: state
|
|
- type: custom:mushroom-template-badge
|
|
content: ¡Hay una carta!
|
|
icon: mdi:email
|
|
color: yellow
|
|
visibility:
|
|
- condition: state
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
state: 'on'
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: binary_sensor.workday_sensor
|
|
color: light-blue
|
|
icon: mdi:briefcase
|
|
- type: sections
|
|
max_columns: 4
|
|
title: testtt
|
|
path: testtt
|
|
sections:
|
|
- type: grid
|
|
cards:
|
|
- type: heading
|
|
heading: Nueva sección
|
|
- type: custom:button-card
|
|
template: hc_climate_card
|
|
entity: climate.termostat_menjador_zigbee
|
|
title: SantPau
|