You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all, I'd like to thank you for your code. It's something I was really looking forward to and I didn't have a clue how to face it..
I've tado valves and Airzone so this approach is perfect to me.
I'm finding a problem with the following condition that is never met:
# Only run if offset hasn't been changed for longer than back_off
- "{{ (as_timestamp(last_updated) < as_timestamp(utcnow() - timedelta(seconds=back_off_secs|int))) if battery_saver else true }}"
I think that the problem is that the entity never has the attribute 'offset_last_changed' (it just doesn't exist). I don't know if it is supposed to create it into the entity in the following line or it is just a variable that should be retained til the next try (not sure if it works like that).
yeah there is a note in the readme about that (the NB) as tado integration needs a pr for that to work... as I had my own code running in custom_component its all worked for me and havent had time to do the code updates... just started this weekend getting everything updated...
I've got ha core locally now and done first pr for tado... will be doing the other pr's I need to do soon, so this should start working (assuming pr accepted) soon ish
Hi, first of all, I'd like to thank you for your code. It's something I was really looking forward to and I didn't have a clue how to face it..
I've tado valves and Airzone so this approach is perfect to me.
I'm finding a problem with the following condition that is never met:
I think that the problem is that the entity never has the attribute 'offset_last_changed' (it just doesn't exist). I don't know if it is supposed to create it into the entity in the following line or it is just a variable that should be retained til the next try (not sure if it works like that).
Thanks and sorry for the inconvenience.. hope I made it clear..
The text was updated successfully, but these errors were encountered: