Shelly Plug S turn on/off once a day if

Hello guys!

I’m a newbe in HA and do my first steps in automation. So, what I will do?

Once a day turn a a shelly plug S on / off with the follows conditions

  • On between 8:00 am and 10:00 am
  • On if solar power is > 300 W or time range end is reached (10:00 am)
  • Off between 16:00 pm and 18:00 pm
  • Off if (solar power is < 200 W and time >= 16:00 pm) or time range end is reached (18.00 pm)

Can someone explain, how i can solve it and what i need (automation, script, …)?
Thank you very much!

Best regards,
Thomas Enzinger

(e.g. Programming skills are exisitng)

Welcome to forum.
You need to describe what “or time range end is reached” means in practice.
Like written above the conditions don’t make sense to me.

I found it :slight_smile:
I do it with automations.

Thank you for all, that read the topic.