2736 lines
78 KiB
YAML
2736 lines
78 KiB
YAML
kiosk_mode:
|
|
hide_header: false
|
|
views:
|
|
- title: Carqui
|
|
path: carqui
|
|
icon: mdi:cat
|
|
theme: Rosé Pine
|
|
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: spacer
|
|
- type: entity
|
|
entity: switch.smart_plug_2104178963350290849948e1e96cf794_outlet
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: script.cat_feed_manual
|
|
primary_info: name
|
|
secondary_info: last-changed
|
|
name: Donar Menjar
|
|
icon: mdi:cat
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: lock.carquinyoli_salon_zigbee_child_lock
|
|
primary_info: name
|
|
secondary_info: state
|
|
name: Anti Carqui
|
|
icon: mdi:lock
|
|
fill_container: true
|
|
icon_color: green
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.carquinyoli_salon_zigbee_led_indicator
|
|
primary_info: name
|
|
secondary_info: state
|
|
name: Pet Feeder
|
|
icon: ''
|
|
fill_container: true
|
|
icon_color: yellow
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.carquinyoli_salon_zigbee_error
|
|
primary_info: name
|
|
secondary_info: state
|
|
name: Error
|
|
icon: mdi:alert-circle
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_boolean.lata_comida
|
|
primary_info: name
|
|
secondary_info: state
|
|
name: Llauna
|
|
icon: mdi:fish
|
|
fill_container: true
|
|
icon_color: purple
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.pet_feeder_comida_mensual
|
|
primary_info: name
|
|
secondary_info: state
|
|
name: Mensual
|
|
icon: mdi:counter
|
|
fill_container: true
|
|
icon_color: green
|
|
- square: false
|
|
type: grid
|
|
cards:
|
|
- square: false
|
|
type: grid
|
|
cards:
|
|
- type: entities
|
|
entities:
|
|
- entity: number.carquinyoli_salon_zigbee_portion_weight
|
|
secondary_info: last-updated
|
|
name: Grams per dosis
|
|
- entity: number.carquinyoli_salon_zigbee_serving_size
|
|
secondary_info: last-updated
|
|
name: Num dossis
|
|
icon: mdi:numeric-10-box
|
|
- entity: select.carquinyoli_salon_zigbee_mode
|
|
theme: Mushroom Square Shadow
|
|
show_header_toggle: true
|
|
state_color: true
|
|
columns: 1
|
|
columns: 1
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.carquinyoli_salon_zigbee_weight_per_day
|
|
name: Grams per dia
|
|
hours_to_show: 24
|
|
icon: mdi:cat
|
|
points_per_hour: 1
|
|
color_thresholds:
|
|
- value: 15
|
|
color: '#5e81ac'
|
|
- value: 30
|
|
color: '#d08770'
|
|
- value: 50
|
|
color: '#bf616a'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-select-card
|
|
entity: select.carquinyoli_salon_zigbee_mode
|
|
name: Mode
|
|
fill_container: true
|
|
icon: mdi:tune
|
|
- type: custom:numberbox-card
|
|
border: true
|
|
entity: number.carquinyoli_salon_zigbee_serving_size
|
|
unit: ' porcions'
|
|
name: false
|
|
min: 1
|
|
max: 25
|
|
step: 1
|
|
- type: custom:numberbox-card
|
|
border: true
|
|
entity: number.carquinyoli_salon_zigbee_portion_weight
|
|
unit: ' porcions'
|
|
name: false
|
|
min: 1
|
|
max: 25
|
|
step: 1
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
fill_container: false
|
|
icon_color: green
|
|
name: Passadís
|
|
entity: binary_sensor.motion_escondite_zigbee_occupancy
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.motion_escondite_zigbee_battery
|
|
name: Bateria
|
|
icon_color: green
|
|
- theme: Rosé Pine
|
|
title: Neteja
|
|
path: neteja
|
|
icon: mdi:vacuum
|
|
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: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: script.vacuum_start
|
|
icon: mdi:robot-vacuum
|
|
fill_container: true
|
|
icon_color: purple
|
|
icon_type: icon
|
|
tap_action:
|
|
action: toggle
|
|
name: Netejar Ara
|
|
secondary_info: last-changed
|
|
- type: custom:mushroom-entity-card
|
|
entity: script.vacuum_go_to_charge
|
|
icon: mdi:robot-vacuum-off
|
|
fill_container: true
|
|
icon_color: purple
|
|
icon_type: icon
|
|
tap_action:
|
|
action: toggle
|
|
name: A base
|
|
secondary_info: last-changed
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_salon_vacuum_tuya
|
|
icon: mdi:robot-vacuum
|
|
fill_container: true
|
|
icon_color: purple
|
|
icon_type: icon
|
|
tap_action:
|
|
action: toggle
|
|
name: Endoll
|
|
secondary_info: state
|
|
- type: custom:mushroom-vacuum-card
|
|
entity: vacuum.mayormono
|
|
icon_animation: true
|
|
fill_container: false
|
|
commands:
|
|
- on_off
|
|
- start_pause
|
|
- stop
|
|
- locate
|
|
- return_home
|
|
icon_type: icon
|
|
name: Mayormono
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Temps Netejat
|
|
secondary: '{{ state_attr(''vacuum.mayormono'', ''clean_time'') }} min'
|
|
icon: mdi:clock-time-three-outline
|
|
icon_color: deep-purple
|
|
fill_container: true
|
|
- type: custom:mushroom-template-card
|
|
primary: Àrea Netejada
|
|
secondary: '{{ state_attr(''vacuum.mayormono'', ''clean_area'') }} m²'
|
|
icon: mdi:texture-box
|
|
icon_color: deep-purple
|
|
fill_container: true
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_boolean.modo_no_ruido
|
|
icon: mdi:volume-off
|
|
fill_container: true
|
|
icon_color: purple
|
|
icon_type: icon
|
|
tap_action:
|
|
action: toggle
|
|
name: No Soroll
|
|
secondary_info: last-changed
|
|
- type: custom:mushroom-template-card
|
|
primary: Bateria
|
|
secondary: '{{ state_attr(''vacuum.mayormono'', ''battery_level'') }}%'
|
|
icon: mdi:battery
|
|
icon_color: deep-purple
|
|
fill_container: true
|
|
- title: Reg
|
|
path: reg
|
|
icon: mdi:water-pump
|
|
theme: Rosé Pine
|
|
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
|
|
icon: mdi:water-pump
|
|
name: Reg
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.agua_terraza_zigbee_water_consumed
|
|
name: Aigua Consumida
|
|
icon: mdi:water
|
|
show:
|
|
graph: bar
|
|
hours_to_show: 168
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 1
|
|
color: '#5e81ac'
|
|
- value: 3
|
|
color: '#d08770'
|
|
- value: 4
|
|
color: '#bf616a'
|
|
- type: custom:mini-graph-card
|
|
entities:
|
|
- sensor.agua_terraza_zigbee_battery
|
|
name: Bateria Reg
|
|
icon: mdi:battery
|
|
hours_to_show: 168
|
|
points_per_hour: 0.5
|
|
aggregate_func: max
|
|
group_by: date
|
|
color_thresholds:
|
|
- value: 30
|
|
color: '#5e81ac'
|
|
- value: 50
|
|
color: '#d08770'
|
|
- value: 70
|
|
color: '#bf616a'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.agua_terraza_zigbee_state
|
|
fill_container: true
|
|
icon: mdi:valve
|
|
tap_action:
|
|
action: toggle
|
|
name: Estat
|
|
layout: vertical
|
|
- type: custom:mushroom-select-card
|
|
entity: select.agua_terraza_zigbee_mode
|
|
name: Mode
|
|
fill_container: true
|
|
icon: mdi:list-box
|
|
- type: custom:mushroom-entity-card
|
|
entity: input_boolean.modo_riego_off
|
|
icon: mdi:water-pump-off
|
|
icon_color: yellow
|
|
fill_container: true
|
|
tap_action:
|
|
action: toggle
|
|
name: Activar/Desactivar
|
|
layout: vertical
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.agua_terraza_zigbee_last_irrigation_duration
|
|
fill_container: true
|
|
icon: mdi:valve
|
|
tap_action:
|
|
action: toggle
|
|
name: Vàlvula
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.agua_terraza_zigbee_irrigation_start_time
|
|
icon: mdi:timer-sand-full
|
|
icon_color: accent
|
|
fill_container: true
|
|
tap_action:
|
|
action: toggle
|
|
name: Inici Reg
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
name: Num Litres durant el cicle
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: number.agua_terraza_zigbee_cycle_irrigation_interval
|
|
name: Num Litres durant el cicle
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: number.agua_terraza_zigbee_cycle_irrigation_interval
|
|
name: Num Litres durant el cicle
|
|
fill_container: true
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
fill_container: true
|
|
icon: mdi:valve
|
|
tap_action:
|
|
action: toggle
|
|
name: Objectiu del reg
|
|
layout: vertical
|
|
- 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: number.set_value
|
|
target:
|
|
entity_id: number.agua_terraza_zigbee_irrigation_target
|
|
data:
|
|
value: '1'
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
- 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: number.set_value
|
|
target:
|
|
entity_id: number.agua_terraza_zigbee_irrigation_target
|
|
data:
|
|
value: '6'
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
- 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: number.set_value
|
|
target:
|
|
entity_id: number.agua_terraza_zigbee_irrigation_target
|
|
data:
|
|
value: '2'
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
- 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: number.set_value
|
|
target:
|
|
entity_id: number.agua_terraza_zigbee_irrigation_target
|
|
data:
|
|
value: '8'
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
- type: vertical-stack
|
|
cards:
|
|
- 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: number.set_value
|
|
target:
|
|
entity_id: number.agua_terraza_zigbee_irrigation_target
|
|
data:
|
|
value: '4'
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:numeric-10-box
|
|
primary_info: none
|
|
secondary_info: none
|
|
icon_type: icon
|
|
fill_container: false
|
|
layout: vertical
|
|
tap_action:
|
|
action: call-service
|
|
service: number.set_value
|
|
target:
|
|
entity_id: number.agua_terraza_zigbee_irrigation_target
|
|
data:
|
|
value: '10'
|
|
entity: number.agua_terraza_zigbee_irrigation_target
|
|
- title: Reproductors
|
|
path: reproductors
|
|
icon: mdi:play-box
|
|
theme: Rosé Pine
|
|
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:mushroom-media-player-card
|
|
entity: media_player.home_assistant_voice_095da2_media_player
|
|
name: Morgana
|
|
icon: mdi:robot
|
|
fill_container: true
|
|
volume_controls:
|
|
- volume_mute
|
|
- volume_set
|
|
- volume_buttons
|
|
media_controls:
|
|
- on_off
|
|
- shuffle
|
|
- previous
|
|
- play_pause_stop
|
|
- next
|
|
- repeat
|
|
use_media_info: true
|
|
show_volume_level: true
|
|
collapsible_controls: true
|
|
- type: custom:mushroom-media-player-card
|
|
entity: media_player.muse_luxe_raspiaudio_muse_luxe
|
|
volume_controls:
|
|
- volume_mute
|
|
- volume_set
|
|
- volume_buttons
|
|
media_controls:
|
|
- on_off
|
|
- previous
|
|
- shuffle
|
|
- next
|
|
- repeat
|
|
- play_pause_stop
|
|
fill_container: true
|
|
icon: mdi:speaker
|
|
use_media_info: true
|
|
show_volume_level: true
|
|
collapsible_controls: true
|
|
name: Muse Luxe
|
|
- type: custom:mushroom-media-player-card
|
|
volume_controls:
|
|
- volume_mute
|
|
- volume_set
|
|
- volume_buttons
|
|
show_volume_level: true
|
|
use_media_info: true
|
|
media_controls:
|
|
- on_off
|
|
- shuffle
|
|
- previous
|
|
- play_pause_stop
|
|
- next
|
|
- repeat
|
|
name: Altavoz Habitación
|
|
entity: media_player.dormitorio
|
|
- type: custom:mushroom-media-player-card
|
|
entity: media_player.kodi
|
|
fill_container: true
|
|
use_media_info: true
|
|
use_media_artwork: true
|
|
show_volume_level: true
|
|
volume_controls:
|
|
- volume_mute
|
|
- volume_set
|
|
- volume_buttons
|
|
media_controls:
|
|
- shuffle
|
|
- play_pause_stop
|
|
- previous
|
|
- next
|
|
- repeat
|
|
- type: custom:mini-media-player
|
|
entity: media_player.muse_luxe_raspiaudio_muse_luxe
|
|
group: false
|
|
volume_stateless: false
|
|
toggle_power: true
|
|
artwork: cover-fit
|
|
source: icon
|
|
info: short
|
|
sound_mode: full
|
|
- square: true
|
|
type: grid
|
|
cards:
|
|
- type: light
|
|
entity: light.muse_luxe_raspiaudio_muse_luxe
|
|
name: RaspiAudio
|
|
- type: gauge
|
|
name: Bateria RaspiAudio
|
|
unit: '%'
|
|
max: 100
|
|
min: 0
|
|
needle: true
|
|
severity:
|
|
green: 90
|
|
yellow: 40
|
|
red: 0
|
|
entity: sensor.muse_luxe_battery
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: script.media_apagar_muse_luxe
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
entity: automation.media_oficina_reproduce_rac1
|
|
tap_action:
|
|
action: perform-action
|
|
perform_action: automation.trigger
|
|
data:
|
|
skip_condition: true
|
|
target:
|
|
entity_id: automation.media_oficina_reproduce_rac1
|
|
name: RAC1
|
|
icon: mdi:radio
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
entity: automation.media_oficina_reproduce_catradio
|
|
tap_action:
|
|
action: perform-action
|
|
perform_action: automation.trigger
|
|
data:
|
|
skip_condition: true
|
|
target: {}
|
|
name: CATRADIO
|
|
icon: mdi:radio
|
|
columns: 3
|
|
- theme: Rosé Pine
|
|
title: Escenes
|
|
path: escenes
|
|
icon: mdi:white-balance-incandescent
|
|
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: grid
|
|
cards:
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: scene.officina_modo_nocturn_normal
|
|
name: Nocturn Normal
|
|
show_state: false
|
|
theme: Mushroom Square Shadow
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: scene.oficina_mode_streaming
|
|
name: Streaming On
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: scene.raspiaudio_led_red
|
|
name: Led Rojo RaspAudio
|
|
- 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: action
|
|
tap_action:
|
|
action: navigate
|
|
navigation_path: /lovelace-santpau/home
|
|
icon: mdi:home
|
|
- 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:mushroom-alarm-control-panel-card
|
|
entity: alarm_control_panel.prosegur
|
|
states:
|
|
- armed_away
|
|
name: Prosegur
|
|
fill_container: true
|
|
primary_info: name
|
|
secondary_info: state
|
|
show_keypad: true
|
|
layout: horizontal
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Càmera
|
|
icon: mdi:camera
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:advanced-camera-card
|
|
cameras:
|
|
- live_provider: ha
|
|
camera_entity: camera.cam_menjador
|
|
title: Salón
|
|
icon: mdi:sofa
|
|
menu:
|
|
style: none
|
|
position: top
|
|
alignment: left
|
|
button_size: 28
|
|
buttons:
|
|
recordings:
|
|
enabled: false
|
|
image:
|
|
enabled: false
|
|
snapshots:
|
|
enabled: true
|
|
iris:
|
|
enabled: true
|
|
live:
|
|
preload: true
|
|
controls:
|
|
next_previous:
|
|
style: chevrons
|
|
size: 20
|
|
thumbnails:
|
|
mode: right
|
|
size: 75
|
|
events_media_type: snapshots
|
|
timeline:
|
|
mode: none
|
|
draggable: false
|
|
timeline:
|
|
show_recordings: true
|
|
controls:
|
|
thumbnails:
|
|
show_details: true
|
|
elements:
|
|
- type: custom:advanced-camera-card-conditional
|
|
conditions:
|
|
- condition: view
|
|
views:
|
|
- live
|
|
elements:
|
|
- type: icon
|
|
icon: mdi:chevron-up
|
|
style:
|
|
background: rgba(255, 255, 255)
|
|
border-radius: 2px
|
|
right: 25px
|
|
bottom: 100px
|
|
tap_action:
|
|
action: perform-action
|
|
perform_action: 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: perform-action
|
|
perform_action: 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: perform-action
|
|
perform_action: 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: perform-action
|
|
perform_action: script.camara_dreta
|
|
view:
|
|
default: live
|
|
camera_select: clips
|
|
triggers: {}
|
|
default_cycle_camera: false
|
|
default_reset:
|
|
interaction_mode: all
|
|
dim: false
|
|
dimensions:
|
|
aspect_ratio_mode: static
|
|
image:
|
|
mode: camera
|
|
performance:
|
|
style:
|
|
box_shadow: true
|
|
border_radius: true
|
|
cameras_global:
|
|
dimensions:
|
|
layout:
|
|
fit: contain
|
|
status_bar:
|
|
style: none
|
|
- type: grid
|
|
cards:
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
entity: binary_sensor.motion_buzon_zigbee_occupancy
|
|
show_state: true
|
|
name: Bustia
|
|
theme: Mushroom Square Shadow
|
|
- show_name: true
|
|
show_icon: true
|
|
type: button
|
|
tap_action:
|
|
action: toggle
|
|
theme: Mushroom Square Shadow
|
|
- 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: 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
|
|
name: Movimiento Pasillo
|
|
fill_container: false
|
|
icon_color: green
|
|
- 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: Buzón
|
|
icon_color: white
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.motion_buzon_zigbee_battery
|
|
name: Bateria
|
|
icon_color: white
|
|
- 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
|
|
name: Movimiento Pasillo
|
|
fill_container: false
|
|
icon_color: green
|
|
- 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: Buzón
|
|
icon_color: green
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_salon_zigbee_battery_low
|
|
name: Bateria
|
|
icon_color: white
|
|
- theme: Rosé Pine
|
|
title: Estatus
|
|
path: estatus
|
|
icon: mdi:home-analytics
|
|
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
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_comedor_zigbee_temperature
|
|
name: Comedor
|
|
icon: mdi:thermometer
|
|
icon_color: accent
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_comedor_zigbee_humidity
|
|
name: Humedad
|
|
icon: mdi:water-percent
|
|
icon_color: accent
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficina_zigbee_temperature
|
|
name: Exterior
|
|
icon: mdi:thermometer
|
|
icon_color: blue
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficina_zigbee_humidity
|
|
name: Humedad
|
|
icon: mdi:water-percent
|
|
icon_color: blue
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficina_zigbee_temperature
|
|
icon: mdi:thermometer
|
|
name: Oficina
|
|
icon_color: pink
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_oficina_zigbee_humidity
|
|
name: Humedad
|
|
icon: mdi:water-percent
|
|
icon_color: pink
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:thermometer
|
|
name: Dormitorio
|
|
entity: sensor.temperature_humidity_dormitorio_zigbee_temperature
|
|
icon_color: deep-purple
|
|
fill_container: false
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.temperature_humidity_dormitorio_zigbee_humidity
|
|
name: Humedad
|
|
icon: mdi:water-percent
|
|
icon_color: deep-purple
|
|
- type: custom:auto-entities
|
|
card:
|
|
show_header_toggle: false
|
|
type: entities
|
|
title: Battery warning
|
|
filter:
|
|
include:
|
|
- attributes:
|
|
device_class: battery
|
|
state: <= 40
|
|
exclude: null
|
|
sort:
|
|
method: state
|
|
numeric: true
|
|
show_empty: true
|
|
- square: false
|
|
columns: 2
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.power_strip_oficina_localtuya_socket_1
|
|
name: Teléfono Fijo
|
|
icon: mdi:deskphone
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.power_strip_oficina_localtuya_socket_2
|
|
name: Portátil
|
|
icon: mdi:laptop
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.power_strip_oficina_localtuya_socket_3
|
|
name: Leds Blancos Oficina
|
|
icon: mdi:led-strip-variant
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.power_strip_oficina_localtuya_socket_usb
|
|
name: Regleta USB
|
|
icon: mdi:usb
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_oficina_meross_outlet
|
|
name: Enchufe Oficina
|
|
- type: tile
|
|
entity: switch.smartplug_salon_localtuya
|
|
show_entity_picture: false
|
|
color: red
|
|
vertical: false
|
|
name: Enchufe MayorMono
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_cocina_meross_outlet
|
|
name: Enchufe Cocina
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_salon_tv_localtuya
|
|
name: TV
|
|
icon: mdi:power-plug
|
|
- type: grid
|
|
cards:
|
|
- graph: line
|
|
type: sensor
|
|
detail: 1
|
|
entity: sensor.raspiaudio_muse_luxe_009824_battery
|
|
theme: Mushroom Square
|
|
- type: sensor
|
|
entity: sensor.redmi_note_8_pro_battery_level
|
|
graph: line
|
|
- title: Planificador
|
|
path: planificador
|
|
icon: mdi:calendar-arrow-right
|
|
theme: Rosé Pine
|
|
type: custom:vertical-layout
|
|
visible:
|
|
- user: 80aff1d43bc54bf292b31a9b25ca4ce1
|
|
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: Planificador
|
|
icon: mdi:calendar-arrow-right
|
|
- type: custom:scheduler-card
|
|
include:
|
|
- binary_sensor
|
|
- sensor
|
|
- switch
|
|
- vacuum
|
|
exclude: []
|
|
title: false
|
|
sort_by:
|
|
- state
|
|
- relative-time
|
|
- title: Rentadora
|
|
path: rentadora
|
|
icon: mdi:washing-machine
|
|
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: Rentadora
|
|
icon: mdi:washing-machine
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.smartplug_terraza_zigbee
|
|
icon: mdi:washing-machine
|
|
icon_color: blue
|
|
fill_container: true
|
|
name: Rentadora
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-select-card
|
|
entity: input_select.washingmachine_status
|
|
name: Rentadora
|
|
fill_container: true
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.smartplug_terraza_zigbee_energy
|
|
name: Intensitat
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.smartplug_terraza_zigbee_power
|
|
fill_container: true
|
|
name: Potència
|
|
- type: custom:mushroom-entity-card
|
|
entity: binary_sensor.puerta_lavadora_zigbee_contact
|
|
fill_container: true
|
|
name: Porta
|
|
- title: Ender-3 V3 SE
|
|
path: print3d
|
|
icon: mdi:printer-3d
|
|
theme: Rosé Pine
|
|
cards:
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Ender-3 V3 SE
|
|
icon: mdi:printer-3d
|
|
- square: false
|
|
columns: 4
|
|
type: grid
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.powerstrip_oficina_print_tuya_ender3
|
|
name: Ender3 V3
|
|
icon: mdi:printer-3d
|
|
tap_action:
|
|
action: toggle
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.powerstrip_oficina_print_tuya_octopi
|
|
icon: mdi:jellyfish-outline
|
|
tap_action:
|
|
action: toggle
|
|
name: OctoPi
|
|
- type: custom:mushroom-entity-card
|
|
icon: mdi:monitor-multiple
|
|
name: Sin nada
|
|
entity: switch.powerstrip_oficina_print_tuya_endoll_3
|
|
- type: custom:mushroom-entity-card
|
|
entity: switch.powerstrip_oficina_print_tuya_usb_1
|
|
name: USB
|
|
icon: mdi:usb-port
|
|
- type: horizontal-stack
|
|
cards:
|
|
- show_state: true
|
|
show_name: true
|
|
camera_view: live
|
|
type: picture-entity
|
|
entity: camera.octoprint_camera
|
|
image: https://demo.home-assistant.io/stub_config/bedroom.png
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: button.ender3v3se_pause_job
|
|
name: Pausar
|
|
icon: mdi:pause
|
|
icon_color: deep-orange
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: button.ender3v3se_stop_job
|
|
name: Aturar
|
|
icon: mdi:stop
|
|
icon_color: red
|
|
fill_container: true
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.ender3v3se_current_state
|
|
name: Estat
|
|
icon: mdi:printer-3d
|
|
icon_color: green
|
|
fill_container: true
|
|
visibility:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity: switch.powerstrip_oficina_print_tuya_ender3
|
|
state: 'on'
|
|
- condition: state
|
|
entity: switch.powerstrip_oficina_print_tuya_octopi
|
|
state: 'on'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.ender3v3se_actual_tool0_temp
|
|
fill_container: true
|
|
name: Tovera
|
|
icon: mdi:printer-3d-nozzle-heat
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.ender3v3se_actual_bed_temp
|
|
fill_container: true
|
|
name: Llit
|
|
icon: mdi:bed-empty
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.ender3v3se_job_percentage
|
|
fill_container: true
|
|
icon: mdi:timer-sand
|
|
name: En curs
|
|
visibility:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity: switch.powerstrip_oficina_print_tuya_ender3
|
|
state: 'on'
|
|
- condition: state
|
|
entity: switch.powerstrip_oficina_print_tuya_octopi
|
|
state: 'on'
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.ender3v3se_start_time
|
|
fill_container: true
|
|
name: Inici
|
|
icon: mdi:printer-3d-nozzle-heat
|
|
- type: custom:mushroom-entity-card
|
|
entity: sensor.ender3v3se_estimated_finish_time
|
|
fill_container: true
|
|
name: Per finalitzar
|
|
icon: mdi:bed-empty
|
|
- type: custom:mushroom-template-card
|
|
primary: OctoPi Web
|
|
secondary: >-
|
|
{% if is_state('sensor.ender3v3se_current_state', "Operational")
|
|
-%}
|
|
Online
|
|
{% elif is_state('sensor.ender3v3se_current_state', "Printing")
|
|
-%}
|
|
Online
|
|
{% elif is_state('sensor.ender3v3se_current_state', "unavailable")
|
|
-%}
|
|
Apagada
|
|
{%- else -%}
|
|
ERROR
|
|
{%- endif %}
|
|
icon: mdi:application-outline
|
|
icon_color: green
|
|
tap_action:
|
|
action: url
|
|
url_path: https://192.168.1.232
|
|
hold_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
visibility:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity: switch.powerstrip_oficina_print_tuya_ender3
|
|
state: 'on'
|
|
- condition: state
|
|
entity: switch.powerstrip_oficina_print_tuya_octopi
|
|
state: 'on'
|
|
type: custom:vertical-layout
|
|
- path: temps
|
|
theme: Rosé Pine
|
|
icon: mdi:weather-cloudy
|
|
title: Temps
|
|
cards:
|
|
- type: custom:mushroom-chips-card
|
|
chips:
|
|
- type: back
|
|
- type: custom:bubble-card
|
|
card_type: separator
|
|
name: Temps actual
|
|
icon: mdi:weather-lightning
|
|
sub_button:
|
|
- entity: sensor.openuv_index_uv_actual
|
|
show_icon: true
|
|
show_name: false
|
|
show_state: true
|
|
show_background: false
|
|
icon: mdi:sun-wireless
|
|
- type: custom:meteoalarm-card
|
|
entities:
|
|
- entity: binary_sensor.barcelona
|
|
integration: meteoalarm
|
|
hide_when_no_warning: false
|
|
scaling_mode: headline
|
|
- type: picture
|
|
image: http://meteoguilleries.cat/ca/webcam/mataro.jpg
|
|
alt_text: Webcam
|
|
theme: Mushroom Square
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Mataró
|
|
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: |-
|
|
{% if states('weather.pirateweather') == "clear-night" -%}
|
|
mdi:weather-night
|
|
{%- elif states('weather.pirateweather') == "sunny" -%}
|
|
mdi:weather-sunny
|
|
{%- elif states('weather.pirateweather') == "cloudy" -%}
|
|
mdi:weather-cloudy
|
|
{%- elif states('weather.pirateweather') == "fog" -%}
|
|
mdi:weather-fog
|
|
{%- elif states('weather.pirateweather') == "partlycloudy" -%}
|
|
mdi:weather-partly-cloudy
|
|
{%- elif states('weather.pirateweather') == "rainy" -%}
|
|
mdi:weather-rainy
|
|
{%- elif states('weather.pirateweather') == "snowy" -%}
|
|
mdi:weather-snowy
|
|
{%- elif states('weather.pirateweather') == "windy" -%}
|
|
mdi:weather-windy
|
|
{%- else -%}
|
|
Sense dades
|
|
{%- endif %}
|
|
icon_color: >-
|
|
{% if state_attr('weather.pirateweather', 'temperature') < 10 -%}
|
|
|
|
light-blue
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 10
|
|
-%}
|
|
|
|
blue
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 18
|
|
-%}
|
|
|
|
lime
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 25
|
|
-%}
|
|
|
|
amber
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 30
|
|
-%}
|
|
|
|
orange
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 35
|
|
-%}
|
|
|
|
deep-orange
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 40
|
|
-%}
|
|
|
|
red
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 10
|
|
-%}
|
|
|
|
indigo
|
|
|
|
{%- else -%}
|
|
|
|
black
|
|
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{ state_attr(''weather.pirateweather'', ''temperature'') }} C'
|
|
secondary: ''
|
|
icon: mdi:temperature-celsius
|
|
multiline_secondary: false
|
|
icon_color: >-
|
|
{% if state_attr('weather.pirateweather', 'temperature') < 10 -%}
|
|
|
|
light-blue
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 10
|
|
-%}
|
|
|
|
blue
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 18
|
|
-%}
|
|
|
|
lime
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 25
|
|
-%}
|
|
|
|
amber
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 30
|
|
-%}
|
|
|
|
orange
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 35
|
|
-%}
|
|
|
|
deep-orange
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 40
|
|
-%}
|
|
|
|
red
|
|
|
|
{%- elif state_attr('weather.pirateweather', 'temperature') > 10
|
|
-%}
|
|
|
|
indigo
|
|
|
|
{%- else -%}
|
|
|
|
black
|
|
|
|
{%- endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{ state_attr(''weather.pirateweather'', ''humidity'') }} %'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
multiline_secondary: false
|
|
icon_color: |-
|
|
{% if state_attr('weather.pirateweather', 'humidity') < 10 -%}
|
|
teal
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 10 -%}
|
|
cyan
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 25 -%}
|
|
light-blue
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 35 -%}
|
|
blue
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 45 -%}
|
|
indigo
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 50 -%}
|
|
deep-purple
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 75 -%}
|
|
purple
|
|
{%- elif state_attr('weather.pirateweather', 'humidity') > 90 -%}
|
|
pink
|
|
{%- else -%}
|
|
black
|
|
{%- endif %}
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: |
|
|
Núvols
|
|
secondary: '{{ state_attr(''weather.pirateweather'', ''cloud_coverage'') }} %'
|
|
icon: mdi:cloud
|
|
icon_color: light-blue
|
|
tap_action:
|
|
action: more-info
|
|
entity: weather.pirateweather
|
|
- type: custom:mushroom-template-card
|
|
primary: |
|
|
Vent
|
|
secondary: >-
|
|
{{ state_attr('weather.pirateweather', 'wind_speed') }} {{
|
|
state_attr('weather.pirateweather', 'wind_speed_unit') }}
|
|
icon: mdi:weather-windy
|
|
icon_color: light-blue
|
|
tap_action:
|
|
action: more-info
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: |
|
|
Pressió
|
|
secondary: >-
|
|
{{ state_attr('weather.pirateweather', 'pressure') }} {{
|
|
state_attr('weather.pirateweather', 'pressure_unit') }}
|
|
icon: mdi:cloud
|
|
icon_color: light-blue
|
|
- type: custom:mushroom-template-card
|
|
primary: |
|
|
Visibilitat
|
|
secondary: >-
|
|
{{ state_attr('weather.pirateweather', 'visibility') }} {{
|
|
state_attr('weather.pirateweather', 'visibility_unit') }}
|
|
icon: mdi:cloud
|
|
icon_color: light-blue
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: picture
|
|
image: https://maps.meteoclimatic.net/ESCAT_tmp_v.jpg
|
|
theme: Mushroom Square
|
|
alt_text: Temperatura
|
|
- type: picture
|
|
image: https://maps.meteoclimatic.net/ESCAT_pcp_int_now_d.jpg
|
|
alt_text: Presipitació
|
|
theme: Mushroom Square
|
|
- type: iframe
|
|
url: >-
|
|
https://imweather.com/?model=nowcast&run=&member=&element=radar_obs&level=undefined&lat=41.7030&lng=1.7589&z=6.32
|
|
aspect_ratio: 100%
|
|
- type: iframe
|
|
url: https://m.meteo.cat/temps-actual
|
|
aspect_ratio: 150%
|
|
- type: picture
|
|
image: https://www.meteoclimatic.net/webcams/ESCAT0800000008304B.jpg
|
|
alt_text: Webcam
|
|
theme: Mushroom Square
|
|
type: custom:vertical-layout
|
|
- title: Hort
|
|
path: hort
|
|
theme: Rosé Pine
|
|
type: sections
|
|
max_columns: 4
|
|
icon: mdi:shovel
|
|
sections:
|
|
- type: grid
|
|
cards:
|
|
- type: heading
|
|
heading: HORTA ESQUERRA
|
|
heading_style: title
|
|
icon: mdi:arrow-left-bold-box
|
|
- type: heading
|
|
icon: mdi:upload-box
|
|
heading_style: title
|
|
heading: Nivell Superior
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_e3_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_e3_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_e3_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_e3_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_e3_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_e3_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_e3_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_e3_zigbee_battery
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_e3_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:flower-card
|
|
entity: plant.pebrots
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
- type: heading
|
|
icon: mdi:arrow-right-bold-box
|
|
heading_style: title
|
|
heading: Nivell Intermig
|
|
- type: heading
|
|
icon: mdi:arrow-down-bold-box
|
|
heading_style: title
|
|
heading: Nivell Baix
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_e1_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_e1_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_e1_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_e1_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_e1_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_e1_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_e1_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_e1_zigbee_battery
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_e1_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:flower-card
|
|
entity: plant.maduixes
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
column_span: 1
|
|
- type: grid
|
|
cards:
|
|
- type: heading
|
|
heading: HORT CENTRAL
|
|
heading_style: title
|
|
icon: mdi:arrow-down-bold-box
|
|
- type: heading
|
|
icon: mdi:upload-box
|
|
heading_style: title
|
|
heading: Nivell Superior
|
|
- type: heading
|
|
icon: mdi:arrow-right-bold-box
|
|
heading_style: title
|
|
heading: Nivell Intermig
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_c3_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_e3_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_c3_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_c3_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_e3_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_c3_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_c3_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_e3_zigbee_battery
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_c3_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:flower-card
|
|
entity: plant.patates
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
- type: custom:flower-card
|
|
entity: plant.esberginia_blanca
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
- type: heading
|
|
icon: mdi:arrow-down-bold-box
|
|
heading_style: title
|
|
heading: Nivell Baix
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_c1_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_c1_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_c1_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_c1_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_c1_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_c1_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_c1_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_c1_zigbee_battery
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_c1_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:flower-card
|
|
entity: plant.julivert
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
- type: custom:flower-card
|
|
entity: plant.orenga
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
- type: grid
|
|
cards:
|
|
- type: heading
|
|
heading: HORTA DRETA
|
|
heading_style: title
|
|
icon: mdi:arrow-right-bold-box
|
|
- type: heading
|
|
icon: mdi:upload-box
|
|
heading_style: title
|
|
heading: Nivell Superior
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d3_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_e3_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_d3_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d3_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_e3_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_d3_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d3_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_e3_zigbee_battery
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_d3_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: heading
|
|
icon: mdi:arrow-right-bold-box
|
|
heading_style: title
|
|
heading: Nivell Intermig
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d2_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_d2_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_d2_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d2_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_d2_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_d2_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d2_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_d2_zigbee_temperature
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_d2_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:flower-card
|
|
entity: plant.ceba
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
- type: heading
|
|
icon: mdi:arrow-down-bold-box
|
|
heading_style: title
|
|
heading: Nivell Baix
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d1_zigbee_temperature'')}}°C'
|
|
secondary: ''
|
|
icon: mdi:thermometer
|
|
entity: sensor.soil_terraza_d1_zigbee_temperature
|
|
icon_color: >
|
|
{% set temp =
|
|
states('sensor.soil_terraza_d1_zigbee_temperature') | int %}
|
|
|
|
|
|
{% if temp > 50 %}
|
|
|
|
indigo
|
|
|
|
{% elif temp > 40 %}
|
|
|
|
red
|
|
|
|
{% elif temp > 35 %}
|
|
|
|
deep-orange
|
|
|
|
{% elif temp > 30 %}
|
|
|
|
orange
|
|
|
|
{% elif temp > 25 %}
|
|
|
|
amber
|
|
|
|
{% elif temp > 18 %}
|
|
|
|
lime
|
|
|
|
{% elif temp > 10 %}
|
|
|
|
blue
|
|
|
|
{% elif temp < 10 %}
|
|
|
|
light-blue
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d1_zigbee_soil_moisture'')}}%'
|
|
secondary: ''
|
|
icon: mdi:water-percent
|
|
entity: sensor.soil_terraza_d1_zigbee_soil_moisture
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_d1_zigbee_soil_moisture') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: '{{states(''sensor.soil_terraza_d1_zigbee_battery'')}}%'
|
|
secondary: ''
|
|
icon: mdi:battery
|
|
entity: sensor.soil_terraza_d1_zigbee_temperature
|
|
icon_color: >
|
|
{% set moisture =
|
|
states('sensor.soil_terraza_d1_zigbee_battery') | int %}
|
|
|
|
|
|
{% if moisture > 90 %}
|
|
|
|
pink
|
|
|
|
{% elif moisture > 75 %}
|
|
|
|
purple
|
|
|
|
{% elif moisture > 50 %}
|
|
|
|
deep-purple
|
|
|
|
{% elif moisture > 45 %}
|
|
|
|
indigo
|
|
|
|
{% elif moisture > 35 %}
|
|
|
|
blue
|
|
|
|
{% elif moisture > 25 %}
|
|
|
|
light-blue
|
|
|
|
{% elif moisture > 10 %}
|
|
|
|
cyan
|
|
|
|
{% elif moisture < 10 %}
|
|
|
|
teal
|
|
|
|
{% else %}
|
|
|
|
black
|
|
|
|
{% endif %}
|
|
- type: custom:flower-card
|
|
entity: plant.enciam
|
|
show_bars:
|
|
- temperature
|
|
- moisture
|
|
cards: []
|
|
badges:
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: weather.pirateweather
|
|
color: ''
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: weather.pirateweather
|
|
color: red
|
|
state_content: temperature
|
|
icon: mdi:thermometer
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: weather.pirateweather
|
|
color: ''
|
|
state_content: humidity
|
|
icon: mdi:water-percent
|
|
- type: entity
|
|
show_name: false
|
|
show_state: true
|
|
show_icon: true
|
|
entity: weather.pirateweather
|
|
color: green
|
|
state_content: wind_gust_speed
|
|
icon: mdi:windsock
|
|
show_entity_picture: false
|
|
name: Vent
|
|
- type: sections
|
|
max_columns: 1
|
|
title: Torrent
|
|
path: torrent
|
|
icon: mdi:cloud-download
|
|
theme: Rosé Pine
|
|
sections:
|
|
- type: grid
|
|
cards:
|
|
- type: heading
|
|
heading: Nova secció
|
|
- type: markdown
|
|
title: Lista de Torrents
|
|
content: >
|
|
{{ state_attr('sensor.torrents_ordenados', 'formatted_torrents')
|
|
}}
|
|
cards: []
|
|
- type: sections
|
|
max_columns: 1
|
|
title: Calefacció
|
|
path: calefaccio
|
|
icon: mdi:thermostat-box
|
|
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: 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
|
|
disable_buttons: false
|
|
set_current_as_main: 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: grid
|
|
cards:
|
|
- type: heading
|
|
heading: Nueva sección
|
|
title: SantPau
|