Open barlock opened 3 years ago
Actually, how about a climate
? It's a little weird but I think it makes enough sense.
In my original plan I assumed that this would be a set and forget in the Haiku App. The correct way to handle this would be to add a service that you can call from a script or automation. Then you can handle how you want to give the user control (input_number?).
I haven't looked at adding a service yet so let me think about it.
👍 Yeah a service is significantly better.
I thought about a set-and-forget in the app too, but especially for this time of year I want to be switching back and forth between auto heat and auto cool based on the wild swings of temperature.
I'm also thinking about switching the min/max fan speeds based on occupancy.
It makes sense to consider all settable
parameters if/when I add this service. Also can I get away with one service or will I need to create multiple.
It looks like a service could do everything. I would think one domain of senseme
service with different services
would be good.
Depending on your availability I also could make the PR if you're interested. If you wanted to do it though I'm happy be a tester too.
I'm pretty busy right now so go ahead and make a stab at it. However it may take some time to review and get the PR into the component.
👍 Sounds good. I appreciate the prompt input and ideation!
Actually, how about a
climate
? It's a little weird but I think it makes enough sense.
I had actually thought a climate makes sense - you can control the set point for the fan (as per the app), as well as having each of the different modes translate to climate modes (e.g. summer mode = cool, winter mode = heat)...
Is your feature request related to a problem? Please describe. I'd like to be able to set the fan to "auto cooling" at the same temp of my thermostat.
Describe the solution you'd like Honestly not sure. It's like a "preset_mode" but takes some extra params. I'd need to look through the docs.
It also looks like you can mix "whoosh" and auto features so you'd need a way to set them independently. I like how you handled other things like "motion" with other entities, but I'm not sure if there's a "switch + data" entity.
Any ideas? I'll keep digging through docs.
Additional context Happy to make a PR for this with an accepted solution.