Boolean turn-off in automation fails but other steps work

I have an automation which, to the best of my knowledge has worked until recently (though I cannot pinpoint an update or time when it did for sure).

In the automation, I turn off an input.boolean but that input.boolean no longer turns off when this automation runs.

I have run it manually and the trace shows everything was fine in the run, yet my boolean remains ‘On’. The issue is with input_boolean.triggerbasiclighting.

Here is the config: (I dupe’d it at the end of the automation just to see if some issue was preventing the first from completing and having it try again might work)

alias: A2 - Lights - Early Evening and Morning Scene
description: ''
trigger:
  - platform: state
    entity_id: input_boolean.triggerbasiclighting
    from: 'off'
    to: 'on'
condition: []
action:
  - service: input_boolean.turn_off
    data: {}
    entity_id: input_boolean.triggerbasiclighting
  - type: turn_on
    device_id: 619caa6c415fc73d0ca55869dda08f93
    entity_id: light.lamplinc_dimmer_53_2e_f1
    domain: light
    brightness_pct: 60
  - type: turn_on
    device_id: 88fe532043b311eb827871269d2292a7
    entity_id: light.lamplinc_dimmer_27_69_1c
    domain: light
    brightness_pct: 50
  - type: turn_on
    device_id: d926512ed704ce035b9fa4d11ca90832
    entity_id: light.lamplinc_dimmer_2e_ad_e0
    domain: light
  - type: turn_on
    device_id: 64372ec5bd12d32c08aa8346c935f4ef
    entity_id: 58c61ca7b998c2dc1dce0bd70a5ecc36
    domain: switch
  - type: turn_off
    device_id: 79f9d6ec720aa1187e48b9add15dc924
    entity_id: light.lamplinc_dimmer_2e_33_2f
    domain: light
  - type: turn_off
    device_id: 6b967639310f872ca7fc01145e47f331
    entity_id: light.lamplinc_dimmer_2e_7a_d0
    domain: light
  - service: input_boolean.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.triggerbasiclighting
mode: single

It seems to me you have created a boolean as a button.
Why not just switch to a button?

you have 2 different formats for turning off the boolean. i think the way that you have at the beginning of your action block may be a legacy way… should update it to the way at the end… but still, for now at least, both ought to work.

a couple things to check to debug:

  1. if you go to dev-tools->service and just do this one input_boolean.turn_off call, does it turn off?
  2. when you go to the history of that input_boolean.triggerbasiclighting does it turn off briefly then turn back on? or does it never even turn on for a blip?