Closed hypery2k closed 2 months ago
If I understand your request right, this is not what the integration is supposed to do, because that is core HA capability. You can create any automation that does what you want, triggered by any sensor state and using the integration services to create whatever schedules you need.
The job of the integration is to provide an interface between HA and the devices that you want to integrate and manage. And that is all available via sensors, changeable entities and services for schedule modifications if needed. The rest must be build by your own in HA automation or scripts.
If you want to use changeable entities and schedule modification services, you need to use your main account for the HA integration. SB2 schedules can be managed with the 2.0.2 pre-release
thanks for the fast response, I didn‘t wanted to replicate HA functionality. I just wasn‘t aware that schedule modification is already available. I will try that
Checklist
Is your feature request related to a problem? Please describe.
First, thanks for this plugin. Really awesome work.
My question is: What do you think about adding own preset schedules based on sensor values?
Describe the solution you'd like
My idea is: Adding a "new schedule" calling home-assistant und adjust the output to home based on the values from smart plugs, basically like with Anker ones, but not bound the this vendor.
I would also volunteering for making a PR if you like the idea.
Describe alternatives you've considered
Anker Plugs :D
Additional context
none