I am new to home assistant, and I am having trouble getting an automation to work.
I have a Sonoff Basic, flashed with Tasmota connected to my geyser (water heater). the automation that I am trying to make is to turn it on at 6 am and off at 7:30.
I have tried multiple examples that I have found, but none seem to work so I assume I have done something wrong.
The switch has been set up in configuration.yaml as follows:
(note I am able to toggle the switch on and off from the home page)
When you create a new automation, you can go to the side-panel > settings > General and click the “verify” button.
This will check for errors. In your case, it would call an error on this specific line.
Alternatively, if you trigger an automation and it doesnt fire, you can go to the side-panel > info (button at the bottom) and then check the log. An error will appear saying what the problem is.
Thank you for taking the time to reply so fast!
I was verifying the config and it was passing.
Your tip for looking at the dev tools was actually the one that nudged me in the right direction.
I happened to click on dev-state and noticed that I was using geyser and should have been using geyser_switch.