-
Notifications
You must be signed in to change notification settings - Fork 48
Description
I am setting up this blueprint with just a heater and a window sensor:
- Add heater to AHC
- Add window sensor to AHC
- Set timers for window sensors to 0 seconds for easier troubleshooting
In normal mode the blueprint does not turn off the heater when the window is opened. When the window is closed the heater state is restored as expected.
Legacy mode works as expected.
I have tested various commits, and this seems to break in 0cc38ff
Following the traces it seems to that the following if condition does not follow the same path as before
value_template: "{{ has_changes and allow_changes }}"
As a workaround I have done the following replacement which solves my issue, but I don't know whether this breaks any other logic.
minimal_config_bypass: >
{{
- (is_legacy_restore and is_window_trigger) or
+ (is_window_trigger) or
(is_liming_trigger)
}}Attached are traces from the commits right before this was broken, and where it was broken.
nonworking-trace automation.advanced_heating_control_v5 2026-02-28T17_34_22.557114+00_00_commit-0cc38ff858294aeecbdedd3106ba2081d60a782a.json
working-trace automation.advanced_heating_control_v5 2026-02-28T17_31_56.208090+00_00_commit-df5a17ecbb2ceaf396ca8108fc269a467fb86ded.json