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:

1 Like

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 ?

Hi, I found this thread while searching since I have the same problem:
I put one of the LUMI plugs on my freezer to monitor the energy usage, but now I have to throw away all the meat ++ since the freezer has been off for two days…

My device is called “lumi.plug.maeu01.01 Basement Freezer”. It is a “lumi.plug.maeu01 by LUMI”.

The logbook says:
lumi.plug.maeu01.01 Basement Freezer Switch turned off triggered by action Home Assistant Core Integration: Generic turn off
20:49:36 - 2 days ago

I have other zigbee plugs that do not have this problem. So, what is “Generic turn off”?

Edit: Forgot to mention:
Core 2024.11.2
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2

I think my problem could be related to the fact that this plug once was used as a “generic_thermostat”, which was still active in my config, but I though it didn’t matter since I had renamed the plug. The old name was “switch.lumi_lumi_plug_maeu01_switch”. The thermostat had “initial_hvac_mode: “off”” which maybe still controlled the plug?