hansen-hasst/lovelace/dashboard/hello_world.yaml
2022-12-28 17:54:28 +01:00

75 lines
2.1 KiB
YAML
Executable File

- 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.pirateweather
entity_1:
entity_id: light.living_room_lights
icon: "mdi:lightbulb" #OPTIONAL
name: LivingRoom
color: "blue"
entity_2:
entity_id: script.netflix_and_chill
icon: "mdi:netflix" #OPTIONAL
name: Netflix
color: "red"
entity_3:
entity_id: script.denon_listen_music
icon: "mdi:spotify" #OPTIONAL
name: Spotify
color: "green"
entity_4:
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:weather-card
entity: weather.pirateweather