Giter Site home page Giter Site logo

Comments (3)

viprapp avatar viprapp commented on June 10, 2024 1

Got this too. This currently breaks a lot of things for me.

from home-assistant-tapo-p100.

github-actions avatar github-actions commented on June 10, 2024 1

This issue is stale because it has been open for 30 days with no activity.

from home-assistant-tapo-p100.

serin113 avatar serin113 commented on June 10, 2024

(original comment: #757 (comment), reposting so the issue doesn't go stale)


I tried reverting to earlier versions to trace where this issue started: v3.0.0 doesn't have it, but v3.1.0 and above do.

#748 fixes this specific issue, since the recently introduced new interface does allow the hs object to be none: https://github.com/petretiandrea/plugp100/blob/0c092b33e233b7881188b05e9b01f967e043ca8b/plugp100/new/components/light_component.py#L41

    @property
    def hs(self) -> Optional[HS]:
        if self._state.hue is not None and self._state.saturation is not None:
            return HS(self._state.hue, self._state.saturation)
        return None

Why the L530E (v1.0) doesn't have hue & saturation isn't obvious to me, but it's the exact same issue I have with the default Tapo integration (home-assistant/core#111757). I'm guessing this issue was introduced by a recent firmware update, because even reverting to a previously working version of this integration didn't fix the color+brightness resetting.

The python-kasa project has recently merged a fix for this exact model, maybe it'll help with the new interface (but it's not in a release yet): python-kasa/python-kasa#840

from home-assistant-tapo-p100.

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.