This commit is contained in:
darthsandmann
2022-08-30 18:42:25 +02:00
parent 79919e5857
commit 853c1d1716
73 changed files with 3902 additions and 1210 deletions

31
lovelace/lights/adaptive.yaml Executable file
View File

@ -0,0 +1,31 @@
- type: 'custom:button-card'
template: card_title
name: Adaptive
- 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
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_adapt_brightness_default
variables:
ulm_card_input_boolean_name: Brightness
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.adaptive_lighting_adapt_color_default
variables:
ulm_card_input_boolean_name: Color

20
lovelace/lights/lightbulbs.yaml Executable file
View File

@ -0,0 +1,20 @@
- type: 'custom:button-card'
template: card_title
name: Light Bulbs
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling
ulm_card_light_enable_collapse: true
ulm_card_light_name: Ceiling
entity: light.ceiling
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: true
ulm_card_light_name: Bed
entity: light.bed_ceiling

View File

@ -0,0 +1,23 @@
- type: 'custom:button-card'
template: card_title
name: Light Groups
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Indirect
ulm_card_light_enable_collapse: true
ulm_card_light_name: Indirect
ulm_input_select_option: light indirect
ulm_input_select: input_select.minimalist_ui_switch
entity: light.all_indirect
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Direct
ulm_card_light_enable_collapse: true
ulm_card_light_name: Direct
entity: light.all_direct

59
lovelace/lights/lightmenu.yaml Executable file
View File

@ -0,0 +1,59 @@
- type: 'custom:button-card'
template: card_title
name: Menu Control
- type: 'custom:button-card'
template: card_generic
entity: timer.pos_timer
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Left Incr
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_left_incr
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Right Incr
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_right_incr
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Up
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_up
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Down
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.pos_down
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_generic
entity: input_number.pos_left
- type: 'custom:button-card'
template: card_generic
entity: input_number.pos_right

View File

@ -0,0 +1,21 @@
- type: 'custom:button-card'
template: card_title
name: Light Stripes
- type: "horizontal-stack"
cards:
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: true
ulm_card_light_name: Bed
entity: light.bed
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Desk
ulm_card_light_enable_collapse: true
ulm_card_light_name: Desk
entity: light.desk

38
lovelace/lights/scenes.yaml Executable file
View File

@ -0,0 +1,38 @@
- type: 'custom:button-card'
template: card_title
name: Scenes
- type: "custom:button-card"
template:
- card_scenes
variables:
entity_1:
entity_id: scene.light_adaptive
icon: "mdi:theme-light-dark"
icon_color: "yellow"
name: "Adaptive"
bg_color: "yellow"
entity_2:
entity_id: scene.light_bright
icon: "mdi:television-play"
icon_color: "blue"
name: "Bright"
bg_color: "blue"
entity_3:
entity_id: "scene.light_night"
icon: "mdi:weather-night"
icon_color: "purple"
name: "Night"
bg_color: "purple"
entity_4:
entity_id: "script.light_store_restore"
icon: "mdi:lightbulb-group"
icon_color: "green"
name: "All On"
bg_color: "green"
entity_5:
entity_id: "script.light_store_off"
icon: "mdi:lightbulb-group-off-outline"
icon_color: "red"
name: "All Off"
bg_color: "red"