raincloudy icon indicating copy to clipboard operation
raincloudy copied to clipboard

Support for setting watering timer during switch.turn_on service call

Open rockstar2020 opened this issue 7 years ago • 3 comments

@tchellomello, Thanks for developing this wonderful integration with HA. I noticed that the watering time is only possible to be configured in configuration file which is basically set on startup. I tried to set the watering time via switch.turn_on service call but the service data is not accepted. Is it possible possible to add this parameter in the switch component? Additionally it'll be great if you could consider adding other service calls such as setting rain delays. The thing is that I use voice commands via my google home as well as automation and it'll be great if I could use these services to turn on the watering for certain time frame or add rain delay by just a voice command or based on weather forecast which triggers a rain delay setting via your newly added service call. Once again much appreciate adding this component to HA. Cheers

rockstar2020 avatar May 24 '18 16:05 rockstar2020

Hello @mehdiheidari, Thanks for your kind words and for your interest in getting this library better. I like your idea of adding the rain delays via service. So, basically, your idea is to keep the watering_time value active for all switches, but have a call via service to override that if needed. Is that what you want?

Thanks @mehdiheidari

tchellomello avatar May 26 '18 07:05 tchellomello

Hi @tchellomello, Yes, that's exactly right. Thanks again.

rockstar2020 avatar May 26 '18 11:05 rockstar2020

Hi @tchellomello, Any luck? Cheers

rockstar2020 avatar Jun 09 '18 18:06 rockstar2020