I tried using Hassio but could not manage configuring my Sonoff switch with Tasmota firmware, i did lots of search but could not find a single topic which could give step by step instructions, hence i switched openhab even though i faced similar problems over there but members helped me out and managed to get it working.
I am not looking to again try and use Hassio and hence if some can help me with it i would be greatful
actually the coding is proper as automations were created using the UI i have just copied and pasted hence it does not appear proper i can get my led lights to switch on and off but not sonoff switches
Well, then the only thing i could think of is that you have not enabled sun: in your configuration.yaml file.
If that is not present, the sun event wont be enabled
actually i have sun enabled and i have another even which is supposed to switch off the light at a certain time that also does not work for some reason
Well, something must not be right somewhere.
What you have posted here seems legit though.
i would need to see more of your configuration to see what is up. But if your light switch is called “switch.master_light” and the switch works outside of the automations, i have no idea tbh
Really i don’t think it actually is an issue, but why bother the condition btw? If the light is on when the automation kicks in, nothing happens anyway. It would just ask HA to turn on the lights, which is already on. No harm done.
Can’t see that is would actually conflict, but seems unnecessary
identical to mine, nothing to spot there. Can you switch the light on and of without automating? If it really is only the automation that is not working, i’m all out of ideas i’m afraid. I would someone sees more than i do, so we can fix your issue, but it really looks right from my angle.
Hey, Samiraa, you may want to look into using the editor to format your YAML files so that others can help you. You’ll generally get a better response.
Instead of just cutting and pasting into the Reply or Comment box, use the following line at the start of your code: \`\`\`yaml (except take out the backslashes, just three back-ticks at the start of a line, the word yaml if it’s YAML code (python, etc).
You end the code section by just putting three back-ticks in a line by itself.
Good luck! Did you ever solve your problem, by the way, because this is something that I’m going to be doing, too.
Hi
I’m trying to configure the sonoff switch but the switch doesn’t work.
I use Home Assistant 0.64.3, one run on synology DS415+, docker, homeassistant/home-assistant:0.64.3
Can you help me?
This is my config.
Thx!