Hello,
after hours of trying to find a solution for my automation not triggering and reading a lot of topics, i am almost quitting. I did set up an automation via the webinterface and just, for testing, wanted to switch on my shelly if an MQTT-Topic is “1”. The Trigger isn’t working and i cant find the a solution. I checked my log but there are no triggered automations listed. I also checked under dev-tools–>states, if the automation is active.
alias: Test
description: ‘’
trigger:
- platform: state
entity_id: switch.lichthandtuer
to: ‘1’
condition:- condition: state
entity_id: switch.lichthandtuer
state: ‘1’
action:- type: turn_on
device_id: 6b2ff7e743720414a4e1aa6db25e5de3
entity_id: switch.shellylichttuer
domain: switch
mode: single
The Problem is not that the switch-command, i have tested it by manually triggering the automation. But the Automation Trigger does not fire.
Please Help, i have no idea, what to check. The log says switch.lichthandtuer is switched on but the automation does not trigger.
Thank You
Martin