As you can see in the following image:
To reset the cat litterbox count to zero, I execute a script, but I would like the label to say something different than ‘Execute’
(Something something about the wife acceptance factor )
As you can see in the following image:
To reset the cat litterbox count to zero, I execute a script, but I would like the label to say something different than ‘Execute’
(Something something about the wife acceptance factor )
I just use buttons, plus they’re easier to tap on from the phone example:
and the lovelace config:
cards:
- entity: script.upgrade_system
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.upgrade_system
type: entity-button
- entity: script.restart_system
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.restart_system
type: entity-button
- entity: input_boolean.refresh_counts
tap_action:
action: toggle
type: entity-button
type: horizontal-stack
You could display it as a switch similar the ones around it by using can_cancel: true
in customize section of configuration.yaml.
Problem with that is that you will see it flick to on momentarily and then straight away back off again.
Hahaha!! Executing cats seems fine to me…