@@ -4739,6 +4739,7 @@ actions:
47394739 then :
47404740 - choose : []
47414741 default : !input auto_shading_start_action
4742+ - stop : " Opening skipped: Shading detected"
47424743
47434744 # ##################################
47444745 # Cover should be opened
@@ -4775,6 +4776,7 @@ actions:
47754776 then :
47764777 - choose : []
47774778 default : !input auto_up_action
4779+ - stop : " Opening executed"
47784780
47794781 # ###########################################################
47804782 # BRANCH (1): CLOSE
@@ -4843,6 +4845,7 @@ actions:
48434845 manual : { a: 0, t: "{{ helper_json.manual.t }}" }
48444846 t : " {{ ts_now }}"
48454847 - *helper_update
4848+ - stop : " Closing skipped: Lockout enabled"
48464849
48474850 # ###########################################################################
48484851 # Window tilted. No lockout. Move to ventilation position instead of closing
@@ -4886,6 +4889,7 @@ actions:
48864889 then :
48874890 - choose : []
48884891 default : !input auto_ventilate_action
4892+ - stop : " Closing skipped: Window tilted (Ventilation activated)"
48894893
48904894 # ##################################
48914895 # Cover is already (almost) closed
@@ -5008,6 +5012,7 @@ actions:
50085012 shading : {a: 1, t: "{{ ts_now }}", p: "{{ (ts_now + local_waitingtime_start) | round(0) }}", q: 0}
50095013 t : " {{ ts_now }}"
50105014 - *helper_update
5015+ - stop : " Shading Start Pending: Waiting"
50115016
50125017 # #################################################
50135018 # Consider lockout protection when shading starts
@@ -5037,6 +5042,7 @@ actions:
50375042 manual : { a: 0, t: "{{ helper_json.manual.t }}" }
50385043 t : " {{ ts_now }}"
50395044 - *helper_update
5045+ - stop : " Shading Start skipped: Lockout enabled"
50405046
50415047 # ##################################
50425048 # Start Shading
@@ -5089,6 +5095,7 @@ actions:
50895095 then :
50905096 - choose : []
50915097 default : !input auto_shading_start_action
5098+ - stop : " Shading Start executed"
50925099
50935100 # ###################################
50945101 # Save shading state for the future
@@ -5110,6 +5117,7 @@ actions:
51105117 then :
51115118 - *tilt_move_action
51125119 - *helper_update
5120+ - stop : " Shading Start skipped: State saved"
51135121
51145122 else : # Shading conditions were no longer met or not met again.
51155123 - choose :
@@ -5132,6 +5140,7 @@ actions:
51325140 shading : { a: 1, t: "{{ helper_json.shading.t }}", p: "{{ (ts_now + local_waitingtime_start) | round(0) }}", q: 0 }
51335141 t : " {{ ts_now }}"
51345142 - *helper_update
5143+ - stop : " Shading Start Pending: Continue waiting"
51355144
51365145 # #####################################################################
51375146 # Shading start / Stop retry (timeout OR outside time window OR disabled)
@@ -5147,6 +5156,7 @@ actions:
51475156 shading : { a: 0, t: "{{ ts_now }}", p: 0, q: 0 }
51485157 t : " {{ ts_now}}"
51495158 - *helper_update
5159+ - stop : " Shading Start aborted: Timeout or invalid"
51505160
51515161 # ###########################################################
51525162 # BRANCH (3): SHADING Tilt
@@ -5231,6 +5241,7 @@ actions:
52315241 shading : { a: 1, t: "{{ ts_now }}", p: 0, q: "{{ (ts_now + (local_waitingtime_end | int)) | round(0) }}" }
52325242 t : " {{ ts_now }}"
52335243 - *helper_update
5244+ - stop : " Shading End Pending: Waiting"
52345245
52355246 # #####################################
52365247 # Only tilt open after shading ends
@@ -5253,6 +5264,7 @@ actions:
52535264 then :
52545265 - *tilt_move_action
52555266 - *helper_update
5267+ - stop : " Shading End: Tilt executed"
52565268
52575269 # #####################################
52585270 # Lockout protection when shading ends
@@ -5283,6 +5295,7 @@ actions:
52835295 manual : { a: 0, t: "{{ helper_json.manual.t }}" }
52845296 t : " {{ ts_now }}"
52855297 - *helper_update
5298+ - stop : " Shading End skipped: Lockout enabled"
52865299
52875300 # ###############################
52885301 # Ventilation after shading ends
@@ -5335,6 +5348,7 @@ actions:
53355348 then :
53365349 - choose : []
53375350 default : !input auto_ventilate_action
5351+ - stop : " Shading End: Ventilation activated"
53385352
53395353 # #######################################################
53405354 # Move cover after shading end - conditions still valid
@@ -5418,6 +5432,7 @@ actions:
54185432 shading : { a: 1, t: "{{ helper_json.shading.t }}", p: 0, q: "{{ (ts_now + local_waitingtime_end) | round(0) }}" }
54195433 t : " {{ ts_now }}"
54205434 - *helper_update
5435+ - stop : " Shading End Pending: Continue waiting"
54215436
54225437 # #####################################################################
54235438 # Shading end / Stop retry (timeout OR outside time window OR disabled)
@@ -5432,6 +5447,7 @@ actions:
54325447 shading : { a: 1, t: "{{ helper_json.shading.t }}", p: 0, q: 0 }
54335448 t : " {{ as_timestamp(now()) | round(0) }}"
54345449 - *helper_update
5450+ - stop : " Shading End aborted: Timeout or invalid"
54355451
54365452 # ###########################################################
54375453 # BRANCH (5): CONTACT SENSOR HANDLING
@@ -5497,6 +5513,7 @@ actions:
54975513 - *cover_move_action
54985514 - *tilt_move_action
54995515 - *helper_update
5516+ - stop : " Ventilation Start (Full) executed"
55005517
55015518 # ##################################
55025519 # VENTILATION START: Window tilted
@@ -5550,6 +5567,7 @@ actions:
55505567 then :
55515568 - choose : []
55525569 default : !input auto_ventilate_action
5570+ - stop : " Ventilation Start (Partial) executed"
55535571
55545572 # ##################################
55555573 # VENTILATION END: Window closed - Return to SHADING
@@ -5594,6 +5612,7 @@ actions:
55945612 - *helper_update
55955613 - choose : []
55965614 default : !input auto_shading_start_action
5615+ - stop : " Ventilation End: Return to Shading executed"
55975616
55985617 # ##################################
55995618 # VENTILATION END: Window closed - Return to OPEN
@@ -5642,6 +5661,7 @@ actions:
56425661 - *tilt_move_action
56435662 - choose : []
56445663 default : !input auto_up_action
5664+ - stop : " Ventilation End: Return to Open executed"
56455665
56465666 # ##################################
56475667 # VENTILATION END: Window closed - Return to CLOSE
@@ -5686,6 +5706,7 @@ actions:
56865706 - *helper_update
56875707 - choose : []
56885708 default : !input auto_down_action
5709+ - stop : " Ventilation End: Return to Close executed"
56895710
56905711 # ###########################################################
56915712 # BRANCH (6): FORCE OPEN
@@ -5852,6 +5873,7 @@ actions:
58525873 - *helper_update
58535874 - choose : []
58545875 default : !input auto_manual_action
5876+ - stop : " Manual Tilt detected"
58555877
58565878 - conditions : # Manually opened
58575879 - " {{ is_up_enabled }}"
@@ -5872,6 +5894,7 @@ actions:
58725894 - *helper_update
58735895 - choose : []
58745896 default : !input auto_manual_action
5897+ - stop : " Manual Open detected"
58755898
58765899 - conditions : # Manually ventilated
58775900 - " {{ is_ventilation_enabled }}"
@@ -5890,6 +5913,7 @@ actions:
58905913 - *helper_update
58915914 - choose : []
58925915 default : !input auto_manual_action
5916+ - stop : " Manual Ventilation detected"
58935917
58945918 - conditions : # Manually shaded
58955919 - " {{ is_shading_enabled }}"
@@ -5907,6 +5931,7 @@ actions:
59075931 - *helper_update
59085932 - choose : []
59095933 default : !input auto_manual_action
5934+ - stop : " Manual Shading detected"
59105935
59115936 - conditions : # Manually closed
59125937 - " {{ is_down_enabled }}"
@@ -5928,6 +5953,7 @@ actions:
59285953 - *helper_update
59295954 - choose : []
59305955 default : !input auto_manual_action
5956+ - stop : " Manual Close detected"
59315957
59325958 - conditions : # Defined positions cannot be assigned
59335959 - not :
@@ -5948,6 +5974,7 @@ actions:
59485974 - *helper_update
59495975 - choose : []
59505976 default : !input auto_manual_action
5977+ - stop : " Manual position (unknown) detected"
59515978
59525979 # ###########################################################
59535980 # BRANCH (11): RESET MANUAL DETECTION
@@ -6006,6 +6033,7 @@ actions:
60066033 - *tilt_move_action
60076034 - choose : []
60086035 default : !input auto_down_action
6036+ - stop : " Return to Close executed"
60096037
60106038 # Return to SHADING position
60116039 - conditions :
@@ -6020,6 +6048,7 @@ actions:
60206048 - *tilt_move_action
60216049 - choose : []
60226050 default : !input auto_shading_start_action
6051+ - stop : " Return to Shading executed"
60236052
60246053 # Return to VENTILATION position (partial)
60256054 - conditions :
@@ -6034,6 +6063,7 @@ actions:
60346063 - *tilt_move_action
60356064 - choose : []
60366065 default : !input auto_ventilate_action
6066+ - stop : " Return to Ventilation executed"
60376067
60386068 # Return to OPEN position
60396069 - conditions :
@@ -6048,6 +6078,7 @@ actions:
60486078 - *tilt_move_action
60496079 - choose : []
60506080 default : !input auto_up_action
6081+ - stop : " Return to Open executed"
60516082 default : []
60526083
60536084 # ###########################################################
0 commit comments