Giter Site home page Giter Site logo

Comments (7)

cgiesche avatar cgiesche commented on May 30, 2024

Under normal conditions, a home-assistant light/switch on the stream-deck has two independend workflows:

  1. Listen for changes for the configured entity. This means, if the state of a light or switch changes in home-assistant (for example by turning it on via the home assistant UI), it should update the stream deck icon as well.
  2. Calling services (turn_on/turn_off/toggle) when you push the button. This does ONLY call that service. The icon will change if above happens (and it normally should happen right after the service was called)

If other switches do work, it sounds like a home assistant configuration issue for me. Kind of hard to say :(

from streamdeck-homeassistant.

turbo-david avatar turbo-david commented on May 30, 2024

Hrm ok the weird part is in Home assistant it works fine. On the streamdeck the first action (if it is in an off state and turn it on works) but subsequent actions do not (all of my switches are set to toggle). is there anything else in the logs etc I could look for?

from streamdeck-homeassistant.

turbo-david avatar turbo-david commented on May 30, 2024

Also I just changed the Long press to a switch off and that works. Seems like it is not getting a confirmation from HA that the toggle has occured.

from streamdeck-homeassistant.

turbo-david avatar turbo-david commented on May 30, 2024

This may have been a HA issue I updated today and the issue is gone

from streamdeck-homeassistant.

cgiesche avatar cgiesche commented on May 30, 2024

Phew, very good :)
Debugging would have been very complicated on this issue, i guess. I will close this issue. If the problem reappears, feel free to reopen it.

from streamdeck-homeassistant.

iCassius avatar iCassius commented on May 30, 2024

i have same issus
when service is empty
`Source: components/websocket_api/connection.py:134
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 03:01:03 (1 occurrences)
Last logged: 03:01:03

[139979076871072] Error handling message: expected str for dictionary value @ data['service']. Got None`

when "Service" is "toggle"
`Source: helpers/service.py:129
First occurred: 02:40:56 (1 occurrences)
Last logged: 02:40:56

Unable to find referenced entities switch.1000578f5a`

from streamdeck-homeassistant.

turbo-david avatar turbo-david commented on May 30, 2024

Actually my issue still stands. I have the button to turn on and then HOLD to turn off Otherwise it doesn't display status any longer.

from streamdeck-homeassistant.

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.