Hi everyone,
recently I have moved from AppDaemon 3.x to 4.0.3 and experienced some problems with my automation environment. When I took a closer look I noticed that any change on climate entity (like temperature) does not trigger callback defined in listen_state().
To be exact automation scripts can change climate attributes (like changing temperatures) and this works just fine but anything else that should be triggered on climate entity change is ignored (like my sync process where in case of temp change on the main climate entity new temperature is set on 4 other thermostats)
This is something that does not make any sense and I have a filing Iām missing something quite obvious.
You are correct. I missed that part. On AppDaemon3 trigger happend on any attribute change and I had āheatā state to āheatā state on temp change and now these triggers are non existing. āattribute=allā helps but data structure is now completely different and Iāll have to do separate handler to reformat it to correspond to old format.
Anyway, thanks a lot! This was driving me crazy for some time.
Problem was that previously I did not have to use attribute=āallā which meant that I did not have dict structure. I just pulled āstateā out of dict and got it in the same format as before and now my code works again.
Thanks a lot!
May I ask what your app actually does? Does somehow sync two climate entities? am searching for a solutio to sync two climte entites because i have a beco wifi thermostat implemented via mqtt as a climate component.