Giter VIP home page Giter VIP logo

Comments (6)

gobigdave avatar gobigdave commented on September 23, 2024 1

Attaching. There are no errors when I press the button. As I said above, it looks like the script is subscribing to the wrong topic. This worked at one time.
home-assistant.log

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 23, 2024

You forgot to attach the debug log.

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 23, 2024

Everything looks good

obraz

Please show me your automation that uses short_press trigger.

from ha-shellies-discovery.

DrDeke avatar DrDeke commented on September 23, 2024

I just set up my first Shelly Button 1 today via ha-shellies-discovery and thought I might have been having the same (or a similar) problem as described in this issue, but it now appears that things are working as intended and I was misunderstanding the expected behavior.

The reason I thought the button press events weren't making it into Home Assistant is that the "Input 0" sensor entity for the button never updates, and always reports its state as "Unavailable". However, the relevant events do show up as triggers for automations:

"First button" pressed
"First button" double clicked
"First button" triple clicked
etc

and these triggers do fire when the button is pressed in the appropriate manner.

I am not certain whether this is the same issue that gobigdave is having, but I thought I'd mention it in case it helps.

from ha-shellies-discovery.

bieniu avatar bieniu commented on September 23, 2024

Yes, inputs generate events so device automation triggers are created for them. Input entities are disabled by default.

from ha-shellies-discovery.

github-actions avatar github-actions commented on September 23, 2024

Stale issue message

from ha-shellies-discovery.

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.