Giter VIP home page Giter VIP logo

Comments (8)

sven337 avatar sven337 commented on August 20, 2024 1

OK, I can still reproduce this readily. I've set up an automation as you described to check your hypothesis, and it does fire when I change the setpoint. I do not think it is surprising though, as you'd want to be able to set up automations when the setpoint changes.

Scheduler does not compare the old state with the new state so even if the operational mode remains the same

This seems like a bug to me. The checkbox reads 'Re-evaluate when conditions change' which implies to re-evaluate only when they change and not when they don't change. I believe you'd need to compare, otherwise you lose orthogonality between setpoint and operation mode.

from scheduler-component.

nielsfaber avatar nielsfaber commented on August 20, 2024 1

I just released v3.3.0 which adds a check comparing the old vs new state when HA triggers a state change event. The schedules will only be triggered when the state of the condition entities has changed.
I hope this helps for your usage. Otherwise let me know.

from scheduler-component.

github-actions avatar github-actions commented on August 20, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

from scheduler-component.

sven337 avatar sven337 commented on August 20, 2024

It would have been nice to get some attention on this problem; at any rate at the moment I seem not to be able to observe it any longer. (HA update may have made the problem disappear)

from scheduler-component.

nielsfaber avatar nielsfaber commented on August 20, 2024

Your TRV integration triggers a 'state change' for the climate entity when you change the setpoint.
Scheduler does not compare the old state with the new state so even if the operational mode remains the same, this could the schedule to be triggered.
Likewise, if you create an automation in HA to trigger on a state change of your climate entity, it would also be fired every time the setpoint (and not operational mode) changes.
If you want to specifically use the operation mode as condition in the schedule, you should consider to create a template sensor to store the operation mode of the climate device (for example the hvac_action attribute), and use this template sneosr in your condition.

from scheduler-component.

sven337 avatar sven337 commented on August 20, 2024

Thanks, I will investigate further based on your indications, if I see the problem again.
However, I confirm that I cannot reproduce any longer at the moment.
I was running HA 2023.10.3 when I got the problem, now I am on 2023.12.3, so maybe the upgrade changed something. Do you have any information to that effect?

from scheduler-component.

nielsfaber avatar nielsfaber commented on August 20, 2024

Do you have any information to that effect?

No. Scheduler has not been updated since last May, so any change would be on the side of HA.

from scheduler-component.

sven337 avatar sven337 commented on August 20, 2024

The side of HA was what I was talking about, precisely. :)

from scheduler-component.

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.