hansen-hasst/lovelace/dashboard/hello_world.yaml
2023-07-17 13:39:40 +02:00

145 lines
4.3 KiB
YAML

- type: "custom:button-card"
template: "card_welcome_scenes"
triggers_update: input_boolean.welcome_collapse
entity: input_boolean.welcome_collapse
variables:
ulm_card_welcome_scenes_collapse: input_boolean.welcome_collapse #OPTIONAl --> uncomment also entity or triggers_update
ulm_weather: weather.forecast_home
entity_1:
entity_id: light.living_room_lights
icon: "mdi:lightbulb" #OPTIONAL
name: LivingRoom
color: "blue"
entity_2:
entity_id: switch.nursery
icon: "mdi:human-baby-changing-table" #OPTIONAL
name: Diaper
color: "pink"
entity_3:
entity_id: script.netflix_and_chill
icon: "mdi:netflix" #OPTIONAL
name: Netflix
color: "red"
entity_4:
entity_id: script.denon_listen_music
icon: "mdi:spotify" #OPTIONAL
name: Spotify
color: "green"
entity_5:
entity_id: script.denon_tv_turn_off
icon: "mdi:television-off" #OPTIONAL
name: TV OFF
color: "black"
- type: horizontal-stack
cards:
- type: 'custom:button-card'
color_type: icon
entity: switch.mailbox
name: Mailbox
tap_action: none
show_label: true
size: 20%
state:
- operator: template
value: >
[[[ return states['switch.mailbox'].state === 'on' ]]]
icon: mdi:mailbox
- operator: default
icon: mdi:mailbox-outline
- type: 'custom:button-card'
#color_type: icon
entity: timer.laundry
name: laundry
tap_action: none
show_label: true
size: 20%
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: card_person
entity: device_tracker.pfsense_blutwurst1_de_galaxy_s21_ultra_5g_blutwurst1_de
variables:
ulm_card_person_entity: person.hansen
ulm_card_person_use_entity_picture: true
ulm_card_person_icon: mdi:face-man
- type: "custom:button-card"
template: card_person
entity: device_tracker.pfsense_blutwurst1_de_tonis_iphone_blutwurst1_de
variables:
ulm_card_person_entity: person.toni
ulm_card_person_use_entity_picture: true
ulm_card_person_icon: mdi:face-woman
- type: "custom:button-card"
template: card_title
name: Adaptive
label: Bulbs
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: card_light
entity: light.office_bulb
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Office
ulm_card_light_enable_collapse: true
- type: "custom:button-card"
template: card_light
entity: light.bedroom_bulb_light
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: Bedroom
ulm_card_light_enable_collapse: true
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: card_light
entity: light.bedroom_bulb_toni_light
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: "Bedroom Toni"
ulm_card_light_enable_collapse: true
- type: "custom:button-card"
template: card_light
entity: light.bedroom_bulb_philipp_light
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: "Bedroom Philipp"
ulm_card_light_enable_collapse: true
- type: "custom:button-card"
template: card_light
entity: light.nursery_bulb
variables:
ulm_card_light_enable_slider: true
ulm_card_light_enable_color: true
ulm_card_light_force_background_color: true
ulm_card_light_name: "Jakob"
ulm_card_light_enable_collapse: true
- type: "horizontal-stack"
cards:
- type: "custom:button-card"
template: card_input_boolean
entity: switch.adaptive_lighting_default
variables:
ulm_card_input_boolean_name: Adaptive
- type: "custom:button-card"
template: card_input_boolean
entity: switch.adaptive_lighting_sleep_mode_default
variables:
ulm_card_input_boolean_name: Sleep