I have this automation which charges my bike battery. When i click the ON switch it’s supposed to count down and after 45 mins the plug turns on. But if i click the ON button on the switch, the plug turns on immediately. If i run the automation manually from the automations tab, the delay works, and the plug turns on after 45 mins as it should.
Any ideas?
Hi, I think that there may be problem with the syntax of your MQTT trigger, the reason the automation works when you run the actions manually is because you are bypassing the triggers.
Try replacing the dashes ("-") in subtype and discovery_id with underscores ("_") to see if that helps.