Button Light Menu

This commit is contained in:
darthsandmann
2022-08-07 20:10:43 +02:00
parent 6b07c3b488
commit d7fedcd96b
11 changed files with 631 additions and 94 deletions

View File

@ -1,7 +1,60 @@
#- type: 'custom:button-card'
# template: card_title
# name: Lights
- 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
- type: 'custom:button-card'
template: card_generic
entity: timer.pos_timer
- type: "horizontal-stack"
cards:
@ -36,4 +89,4 @@
template: card_input_boolean
entity: switch.adaptive_lighting_sleep_mode_default
variables:
ulm_card_input_boolean_name: Sleep
ulm_card_input_boolean_name: Sleep

View File

@ -17,10 +17,10 @@
name: "Adaptive"
bg_color: "yellow"
entity_2:
entity_id: scene.light_blue
entity_id: scene.light_bright
icon: "mdi:television-play"
icon_color: "blue"
name: "Blue"
name: "Bright"
bg_color: "blue"
entity_3:
entity_id: "scene.light_night"