Giter VIP home page Giter VIP logo

Comments (5)

gonzotek avatar gonzotek commented on July 17, 2024

It should do that already. See https://github.com/zacs/ha-nfl/blob/master/blueprints/nfl-game-score-lights.yaml#L65 and the final action in the sequence should restore the state. But I have definitely observed some occasions (with both Hue and wled light types) where the state doesn't return perfectly to what it was when the scene was captured. I do not know why it mostly works, but sometimes doesn't...at a guess, it could be a race condition. Maybe I could try adding a slight delay action after scene capture call.

from ha-nfl.

baj24 avatar baj24 commented on July 17, 2024

It should do that already. See https://github.com/zacs/ha-nfl/blob/master/blueprints/nfl-game-score-lights.yaml#L65 and the final action in the sequence should restore the state. But I have definitely observed some occasions (with both Hue and wled light types) where the state doesn't return perfectly to what it was when the scene was captured. I do not know why it mostly works, but sometimes doesn't...at a guess, it could be a race condition. Maybe I could try adding a slight delay action after scene capture call.

I've noticed that they go back to the color they were before, but if the lights were off before the automation runs, they don't turn back off.

from ha-nfl.

gonzotek avatar gonzotek commented on July 17, 2024

Interesting. I don't think I tested for that since the main light I use is always on during the games I watch(a behind the tv lightstrip). I'll see if there's anything that I can do about that. What HA integration are your lights, out of curiosity (I'm working mostly with Hue and wled).

from ha-nfl.

baj24 avatar baj24 commented on July 17, 2024

from ha-nfl.

gsakel1 avatar gsakel1 commented on July 17, 2024

Could a feature be added to flash only on touchdowns for this blueprint?

from ha-nfl.

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.