Skip to content

Temperature of climate entities not taken into account #154

@SwishSwushPow

Description

@SwishSwushPow

Heyo everyone!

I came back to this after a while because I noticed that development had picked up a bit and gave it a go. For me one of the main use cases would be to control the thermostats around the house. When testing I noticed that the target temperature of my thermostats does not influence the "on/off" state of the stateful scene. Only the heating mode does I think.

I'm using the latest version of HA and of stateful scenes. I had a short look at the code but couldn't spot the issue immediately. I'll see if I have some more time to look into this. Until then, please let me know if I can test anything or provide more information. :)

Edit: Ok some more information as I did some more testing. The state of the scene is reflected correctly if I set the tolerance to 0. With tolerance 1 I get the following behavior: Say I set one thermostat to 21°C in my scene. If I change it to 20.5°C the scene is still on (as expected). Now when I set it from 20.5°C to 19.5°C, the scene remains activated. So probably the issues lies here where it compares the current value with a wrong base value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions