Hello,
I have the following modbus integration.
Lovelance:
- type: horizontal-stack
cards:
- type: custom:button-card
hold_action:
action: more-info
name: Kitchen
icon: mdi:pot-steam-outline
tap_action:
action: call-service
service: script.komfovent_set_kitchen
service_data: {}
target: {}
entity: binary_sensor.komfovent_mode_is_kitchen
confirmation:
text: Activate kitchen mode for 60 minutes?
Script:
komfovent_set_kitchen:
alias: Komfovent mode Kitchen
sequence:
- service: modbus.write_register
data:
address: 129
hub: komfovent
value: 60
Template:
binary_sensor:
- name: "Komfovent mode is Kitchen"
state: "{{ states.sensor.komfovent_current_mode.state | int == 5 }}"
Modbus:
sensors:
- name: "Komfovent Current Mode"
address: 4
scan_interval: 5
I would like to be able to input a custom time between 0 and 301 before confirmation, is it possible to do this via a popup?
I would like to display the remaining time in the same icon, how can I do this?
Thank you.