home-assistant / architecture

Repo to discuss Home Assistant architecture
315 stars 99 forks source link

Add a fan component with "n" speeds - up to 6 #414

Closed paulearley closed 4 years ago

paulearley commented 4 years ago

Context

I have two fans one with 4 speeds and one with 6. I would like to be able to use all speeds. Multiple fans have more than 3 speeds.

Proposal

Create either two new components (4 speed and 6 speed) or better yet, one component that allows for a variable number of speeds. I have been trying to work on this for a week (creating a custom component that interfaces with fans using mqtt or other means) but have gotten stuck on accessing mqtt from my custom component.

Consequences

If the original component is modified for a variable number of speeds (which seems like the best solution) that component will be a bit more difficult to set up.

Jc2k commented 4 years ago

This is really a dupe of https://github.com/home-assistant/architecture/issues/127.

The consensus there seems to be optionally allowing fans to provide a percentage control, but there isn't a final consensus/agreement yet.

MartinHjelmare commented 4 years ago

Duplicate of #127