Goodday to you
Is there any idea how the set the brightness in a slider button card to a predifined value when switching the light on?
This is what i did; but my wife wants the lamp at 12% brightness when switching it on.
Anyone an idea how to?
- type: horizontal-stack
cards:- type: custom:slider-button-card
entity: light.hue_bloom_1
name: Hue bloom color
color: dodgerblue
brightness: 12%
show_percentage: true
slider:
direction: left-right
background: gradient
use_state_color: true
use_percentage_bg_opacity: true
icon:
use_state_color: true
tap_action:
action: more-info
brightness_pct: 10%
action_button:
mode: toggle - type: glance
show_name: true
show_icon: false
entities:- entity: sensor.hue_bloom_1_energy
name: verbruik - entity: sensor.hue_bloom_1_power
name: power
- entity: sensor.hue_bloom_1_energy
- type: custom:slider-button-card
- type: horizontal-stack