Comments (4)
Do you have an example for such an functionality in home assistant?
from nspanel-lovelace-ui.
unfortunately no. Something very simple when you press a switch should it ask you if you really should continue. I have my main fuse with me. so you don't accidentally click on it. i use a translator
from nspanel-lovelace-ui.
there are various ways you could archive this goal in homeassistant for example
- create two input booleans, turn the acual swich off after they are both false
or
- create a input_boolean/button in ha
- run a nodered flow/automation on state change oft the created item
- send a notification
- listen for button press events from the notification, do whatever depending on the pressed button
- exit notifcation screen, by sending popupExit to the screen
an example for creating notifications is in the nodered folder
they are looking like this and it is possibe to customize the heading, message and buttons
a native build-in confirmation screen ist definitely out of the scope of this project, but it's possible to build this with automations/nodered
from nspanel-lovelace-ui.
thx
from nspanel-lovelace-ui.
Related Issues (20)
- [Feature Request] Preview of rendering apps.yaml HOT 3
- [BUG] Panel Screen doesn't show Entities correctly or strong delayed HOT 1
- [Feature Request]
- [BUG] Display suddently black HOT 5
- [BUG] NSPanel screensaver no longer displays icons for weather forecast HOT 3
- [BUG] Getting WARNING AppDaemon: No app description found from Appdaemon HOT 11
- [Help] Waiting for Content HOT 12
- [BUG] Error while initial flashing tft file HOT 7
- [Feature Request] Change font color under icons on screensaver HOT 1
- [BUG] Auto Update Nextion from 53 / V4.3.3 to 54 / V4.4.0 update run no error but not installed HOT 2
- [Feature Request] Support Snoff MQTT HOT 2
- [Feature Request] More Colors for Icons on Screensaver HOT 2
- [Help] event1 beim Abfallkalender HOT 1
- Adding NSPanel buttons to Home Assistant as entites HOT 3
- AttributeError: 'AttrDict' object has no attribute 'forecast' HOT 1
- [Help] Waiting for Content HOT 1
- [Feature Request] A card that can display a static image from a URL HOT 1
- [Feature Request] Support different icons for device classes of type "cover"
- Problem with installation MQTT APPDEAMON HOT 1
- [Help] only showing "Setup successful" if touched instead of configured panels HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nspanel-lovelace-ui.