Automation deleted but still running

Hey there.

I got a simple automation running which lights up a bulb when my photovoltaic system creates overspill.
But now it gets weird. The automation was running fine with bulb A. Yesterday I replaced bulb A with bulb B. I changed the automation that bulb B should light up but it doesn’t work. Still bulb A (now at a different place) lights up. Then I deleted the whole automation (GUI and also searched for it in developer/states and automation.yaml) but it’s still running.
Both bulbs are controllable via GUI and working fine. There are not binded to other automations.

Can anyone help me to stop the automation or reconfigure it?

Home Assistant running on Proxmox as VM HAOS
Phillips Hue Bridge connected to HA

Have you tried restarting HA after deleting it?

Yes. Already did it a couple of times.
Now I deleted both bulbs via Hue app, repaired them and gave them a different name. In HA I recreated the automation and now it’s working.
Really weird. But it’s working now.

Maybe you have an idea for a different problem which I am facing.
I’m using my window covers in an automation. At 6 am they should go app. Not a big deal but the automation is not working. When I am running it manually it’s working but not on its own.

alias: Sichtschutz 6 Uhr Up EG & deactivate
description: ""
trigger:
  - platform: time
    at: "06:00:00"
condition: []
action:
  - service: input_boolean.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.sichtschutz_eg
  - device_id: d84c8a95e956b4f34e407927bb878478
    domain: cover
    entity_id: 03716843bd322871ac3b65c35d0a8e06
    type: open
  - device_id: 6f842371b0460901ebcdcfc2f0a3be80
    domain: cover
    entity_id: 0600210306c50fabcbb640633b77a503
    type: open
mode: single

the automation looks fine.

Usually i this type of situation it’s that your HA time doesn’t match with your actual time. Make sure you have set your time zone correctly in your system settings.

Thx. Seems to be correct. The strange thing is that I already using other automation which are triggered by a specific time and they working well.
I deleted the automation and created it again. We will see if it will work tmrw.

Thanks for your help so far.

1 Like

Got it. The automation was working fine but another automation closed the cover again. Now everything is working.

I’ve got one issue remaining.
A lamp consists of three Hue bulbs. I control them through a shelly 1. Turning them on is working fine but turning them off is mostly not working correctly. One bulb turns off but then turns on again. I am not able to turn this bulb off, not through HomeKit or Hue or HA app.It turns on again. I also changed the automation to “toogle” instead of turning on/off but it doesn’t male any difference. Also replaced the bulb the issue remains. It’s intersting that after pairing the bulb again the automation is working correctly. But after a few days I have the same issue again. Same issue with ioBroker by the way. Really weird.

Can I somehow debug the bulb?

alias: Mathea Licht an short
description: ""
trigger:
  - platform: device
    device_id: 47c033f90ed4c80a53c519f896e720ed
    domain: shelly
    type: single
    subtype: button
condition:
  - condition: or
    conditions:
      - condition: device
        type: is_off
        device_id: 6a657af87fed49d5a8b889be871d4456
        entity_id: 0f9c051ada0cdd0a6ab06baa00f9f582
        domain: light
      - condition: device
        type: is_off
        device_id: 0ad28d9072b7ebd69b57e711927dcb6e
        entity_id: 6abbcbd85a3e77faf01c27a64a12aa0a
        domain: light
      - condition: device
        type: is_off
        device_id: 35c3030383fb7ee5dbbf3a6c9c84d2ec
        entity_id: fe7cc85d59aacc41dfe7a2f3903751b6
        domain: light
action:
  - type: turn_on
    device_id: 6a657af87fed49d5a8b889be871d4456
    entity_id: 0f9c051ada0cdd0a6ab06baa00f9f582
    domain: light
  - type: turn_on
    device_id: 0ad28d9072b7ebd69b57e711927dcb6e
    entity_id: 6abbcbd85a3e77faf01c27a64a12aa0a
    domain: light
  - type: turn_on
    device_id: 35c3030383fb7ee5dbbf3a6c9c84d2ec
    entity_id: fe7cc85d59aacc41dfe7a2f3903751b6
    domain: light
mode: single
alias: Mathea Licht aus short
description: ""
trigger:
  - platform: device
    device_id: 47c033f90ed4c80a53c519f896e720ed
    domain: shelly
    type: single
    subtype: button
condition:
  - condition: or
    conditions:
      - condition: device
        type: is_on
        device_id: 6a657af87fed49d5a8b889be871d4456
        entity_id: 0f9c051ada0cdd0a6ab06baa00f9f582
        domain: light
      - condition: device
        type: is_on
        device_id: 0ad28d9072b7ebd69b57e711927dcb6e
        entity_id: 6abbcbd85a3e77faf01c27a64a12aa0a
        domain: light
      - condition: device
        type: is_on
        device_id: 35c3030383fb7ee5dbbf3a6c9c84d2ec
        entity_id: fe7cc85d59aacc41dfe7a2f3903751b6
        domain: light
action:
  - type: turn_off
    device_id: 6a657af87fed49d5a8b889be871d4456
    entity_id: 0f9c051ada0cdd0a6ab06baa00f9f582
    domain: light
  - type: turn_off
    device_id: 0ad28d9072b7ebd69b57e711927dcb6e
    entity_id: 6abbcbd85a3e77faf01c27a64a12aa0a
    domain: light
  - type: turn_off
    device_id: 35c3030383fb7ee5dbbf3a6c9c84d2ec
    entity_id: fe7cc85d59aacc41dfe7a2f3903751b6
    domain: light
mode: single