Home assistant core integration generic turn off

Hello,

I have a lot of input_booleans to control a coresponding relay. They are called for example input_boolean.relay10.1. The 10 is a module the 1 is the relais on that module. The relais modules are controlled trough serial in node red. I do not use the serial control yet because i’m still in testing mode.
I made automations with input_booleans as well. These boolean’s represent a push button.

All (58) my automations work fine except 2 of them. For some reason, the home assistant core integration turns off that particular input_boolean.relay10_1.

image

Below is the automation. I use 2 input_booleans to turn on a light template witch toggels the relay boolean.

alias: Zijlichten garage
description: ""
trigger:
  - platform: state
    entity_id:
      - input_boolean.push6_4_s
      - input_boolean.push6_8_s
    to: "on"
condition: []
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 10
  - service: light.toggle
    data: {}
    target:
      entity_id: light.zijlichtgarage
  - service: input_boolean.turn_off
    data: {}
    targe
      entity_id:
        - input_boolean.push6_4_s
        - input_boolean.push6_8_s
mode: single
type or paste code here

The light template

zijlichtgarage:
        friendly_name: "Zijlichten garage"
        value_template: "{{ is_state('input_boolean.relay10_1', 'on') }}"
        turn_on:
          service: input_boolean.turn_on
          target:
            entity_id: input_boolean.relay10_1
        turn_off:
          service: input_boolean.turn_off
          target:
            entity_id: input_boolean.relay10_1

The input_booleans are all configured the same.
I can’t say it’s because of the latest update because i’ve made my automations a few weeks ago.
I use homeassitant on a PI4 with this version

  • Core2024.5.3
  • Supervisor2024.05.1
  • Operating System12.3
  • Frontend20240501.1

I found several other posts about this problem but no solution to it.
https://community.home-assistant.io/t/home-assistant-repeatedly-turning-boiler-switch-on-and-off/647421
https://community.home-assistant.io/t/boolean-helper-turning-off-by-itself/656454
https://community.home-assistant.io/t/all-lights-got-switched-on-by-hacore/687006

I have no idea where to look to solve this.

This should say target:

Indeed, i think it’s a copy paste fault. Automation is made with the visual editor.
Th code was correct.

If i rename the input_boolean relay10_1 to 11_1 it works without a problem. Is this a bug ?