I try to find a possibility to add a confirmation dialog to entities cards having number entities.
When changing one or more values a confirmation dialog should be displayed.
Is there any chance to implement?
I try to find a possibility to add a confirmation dialog to entities cards having number entities.
When changing one or more values a confirmation dialog should be displayed.
Is there any chance to implement?
This cannot be implemented by standard means.
But - if you need an additional restriction like “think again before changing” - consider a custom restriction-card which will only give you an access to edit values after you input a pincode.
Thanks for your fast reply. In my case I have enties cards for the parameters of my heating system.
(> 70 entities) and I had the situation that I changed incidently values by swiping on my tablet.
Especially when using sliders…
I wrote a node-red script to store all values and a recovery mode to restore all values.
A confirmation dialog within the dashboard would be nice to have.
In my situation from time-to-time CUPS printer service ( on another RPI in network) needed restart, simple button was no go ![]()
Made it react on button long press and confirmation pop-up using hold_action confirmation: ![]()
entities:
- entity: switch.tp_power2
name: Printer
- type: button
action_name: Restart CUPS
icon: mdi:printer-alert
name: Printer needs restart?
tap_action:
action: none
hold_action:
action: call-service
confirmation:
text: Restart printer server?
service: automation.trigger
service_data:
entity_id: automation.cups_restart
show_header_toggle: false
title: Printer power
type: entities
state_color: true
Automation executes remote shell script after positive confirmation.
Best and hope it can give some idea, JR
Will never happen with the restriction-card.
Thanks for your input. I tried the restriction-card. It works fine. ![]()
Sorry, you are confusing a “post with a solution” with a “post where I thanked for the solution” )))