Closed Odianosen25 closed 4 months ago
thanks, will try to document this on a page in die documentation soon (https://github.com/joBr99/nspanel-lovelace-ui/tree/main/docs)
Btw: If you have an esp32 developer board laying around you can emulate a panel in the nextion editor aswell. (the iobroker guys documented my loose notes on that quite well, even though it's in german ;) https://github.com/joBr99/nspanel-lovelace-ui/wiki/NSPanel-Nextion-Editor
Unfortunately I do not have any board.
Though one thing I would have loved to do, is to use AD based entities or entities outside the HASS namespace.
That way I can use their state changes, and define custom service parameters for button presses than just HA's.
I am not sure where to tackle it from though, could do with pointers if you can.
Kind regards
This fixes a typing with the current card access, and as requested an example of how it can be used
The use case is as outlined:
By default the buttons are used to switch off lights assigned to them, when clicked once (single) When they are double pressed (double), its used to instruct to switch off the whole room This will then show a hidden card, requesting to confirm switch off Buttons are used on the card to confirm or reject, but at the same time the physical buttons can be used
First a hidden card is created, to display the message to confirm switch off
An AD app is written to decide of its a
single
button event, it will switch on/off the light. But ifdouble
, it will show the confirm page. When the confirm page is being shown, the buttons will be used to either confirm/reject the request.