Git Product home page Git Product logo

Comments (4)

joBr99 avatar joBr99 commented on August 25, 2024

Do you have an example for such an functionality in home assistant?

from nspanel-lovelace-ui.

mehmetu61 avatar mehmetu61 commented on August 25, 2024

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.

joBr99 avatar joBr99 commented on August 25, 2024

there are various ways you could archive this goal in homeassistant for example

  1. create two input booleans, turn the acual swich off after they are both false

or

  1. create a input_boolean/button in ha
  2. run a nodered flow/automation on state change oft the created item
  3. send a notification
  4. listen for button press events from the notification, do whatever depending on the pressed button
  5. 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

image

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.

mehmetu61 avatar mehmetu61 commented on August 25, 2024

thx

from nspanel-lovelace-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.