Coder Social home page Coder Social logo

Automation cancelled when two triggers flip simultaneously and mode is restart and the automation is already running (reproducible) about core HOT 5 CLOSED

zanna-37 avatar zanna-37 commented on July 20, 2024
Automation cancelled when two triggers flip simultaneously and mode is restart and the automation is already running (reproducible)

from core.

Comments (5)

bdraco avatar bdraco commented on July 20, 2024 1

probably fixable by removing

await asyncio.sleep(0)
but that will reduce the loop production

from core.

home-assistant avatar home-assistant commented on July 20, 2024

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (automation) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of automation can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign automation Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


automation documentation
automation source
(message by IssueLinks)

from core.

TheJulianJES avatar TheJulianJES commented on July 20, 2024

I'll need to check later, but this looks like the same issue as this one:

from core.

zanna-37 avatar zanna-37 commented on July 20, 2024

It's slightly different but I think it has the same root cause.
My automation is a little bit simpler to reproduce.

Sorry I didn't find that issue before opening this one.

from core.

LucasCZE avatar LucasCZE commented on July 20, 2024

This is interesting. It looks like the same issue I have created (the other issue mentioned by TheJulianJES). But I have a lot of automations that would fail if this issue could be reproduced in my environment. An automation must have at least 3 triggers to fail in my environment. But I am running 2024.5.5, so I think this is a new, even worse, behavior in 2024.6.0.

from core.

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.