I am trying to create a button which resets a particular filter value on my vacuum based on an input select, but can’t seem to get it right. Hoping someone can give me some tips on how to get this working!
Example using ‘Services’:
service: vacuum.send_command
target:
entity_id: vacuum.robomac
data:
command: reset_consumable
params:
- sensor_dirty_time
My button code:
tap_action:
action: call-service
service: vacuum.send_command
target:
entity_id: vacuum.robomac
data_template:
command: reset_consumable
params: "{{ input_select.robomac_reset }}_time"
Where ‘input_select.robomac_reset’ will be one of the following:
- sensor_dirty
- filter
- main_brush
- side_brush