Giter VIP home page Giter VIP logo

Comments (8)

sehaas avatar sehaas commented on September 27, 2024

Please see #14 and check for retained values on your MQTT broker.

from ha_hisense_tv.

andriuskr avatar andriuskr commented on September 27, 2024

Deleted this topic from broker, rebooted. Has retained flag. After HA reboot it still show TV as on...
image

from ha_hisense_tv.

sehaas avatar sehaas commented on September 27, 2024

Maybe the broker of the TV has also the retained flag set?
It would be possible to ignore messages having the retained flag set, but I don't know if this breaks anything else.

from ha_hisense_tv.

andriuskr avatar andriuskr commented on September 27, 2024

Yes, correct. TV broker also has retained flag.

from ha_hisense_tv.

sakowicz avatar sakowicz commented on September 27, 2024

I can confirm that it happens also to me for last few weeks. Retained flag is on.

from ha_hisense_tv.

sehaas avatar sehaas commented on September 27, 2024

Only for the state topic or others as well?

Have you tried to delete the flag on both brokers?

from ha_hisense_tv.

sehaas avatar sehaas commented on September 27, 2024

I can reproduce the behaviour. My code already handles (ignores) retained messages, but the check isn't working any more.
It looks like the boolean flag was changed to a number (0 & 1). Let's see if this is a bug in HA or if missed some breaking API changes.

from ha_hisense_tv.

sehaas avatar sehaas commented on September 27, 2024

Fixed. Retained messages will be ignored.

from ha_hisense_tv.

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.