92 lines
2.5 KiB
YAML
92 lines
2.5 KiB
YAML
#- 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:
|
|
- 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
|
|
|
|
|
|
- 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 |