So Ive recently started using the button-card lovelace card, and I love it.
It has the repeat function on hold. I would like to use it to increase brightness of a light by say % every 500m/s, but I cannot figure out how. I assume I would need something like:
{ "brightness": "states.light.gledopto.attributes.brightness|int + 10" }
But that doesnt seem to work.
My existing yaml is:
cards:
- aspect_ratio: 11/1
color: 'rgb(33,150,243)'
color_type: label-card
name: Lights
type: 'custom:button-card'
- cards:
- dbltap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.light_high
entity: light.jasco_products_unknown_type_4944_id_3235_level
hold_action:
action: more-info
icon: 'mdi:sofa'
name: Living Room
size: 27%
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.light_low
type: 'custom:button-card'
- entity: switch.jasco_products_26931_smart_motion_switch_switch
icon: 'mdi:garage'
name: Garage
size: 27%
type: 'custom:button-card'
- entity: switch.jasco_products_14291_in_wall_smart_switch_switch_2
icon: 'mdi:home-account'
name: Porch
size: 27%
type: 'custom:button-card'
type: horizontal-stack
type: vertical-stack