cibernox / homeassistant-poolstation

HomeAssistant custom component for integrating the Poolstation platform.
MIT License
9 stars 4 forks source link

Pump Relay Control #8

Open bmpalmeida opened 1 year ago

bmpalmeida commented 1 year ago

Hello,

First of all, let me congratulate on the great work that you did here.

Is there any chance to control the pump relay, but instead of turning on and off, also have the possibility to put it in auto?

So he can continue the controller schedules.

cibernox commented 1 year ago

I am not sure. The reason being that in home assistant a switch, afaik, has only on and off, there is no other states. We'd have to model the switch as a "select" entity in home assistant, which is a bit inconvenient. What I ended up doing is moving my schedule to home assistant with the scheduler card and just relay on it. And IMO it's a more convenient way than creating schedules in the poolstation app.

At most maybe we could have another switch entity, named "Auto schedule" that when set to ON, the other switch stops working.

davidalanon-1 commented 3 months ago

Hello, I just started using your integration and I find it very good. I have the same problem as bmpalmeida and I think the solution you propose of adding a switch for automatic mode is a good one.

sergio-scl commented 3 months ago

Hi,

It would also be very interesting for me to have that 3-position switch (AUTO/ON/OFF) but I don't really know how to do it. If someone is encouraged and can give instructions for this it would be great. Thanks in advance.

davidalanon-1 commented 3 months ago

Hello, I have seen in some forums that it can be used a input_number 0 to 2 with a slider 0 Off 1 Auto 2 On Could also an icon_template to reflect selected status

straybiker commented 3 months ago

I can confirm that using the sheduler card is a good workaround to create schedules instead of directly in poolstation.