Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Feature request: Implement hood controls under the fan domain #80

Open
anthonyangel opened this issue May 6, 2020 · 8 comments
Open
Labels
enhancement New feature or request

Comments

@anthonyangel
Copy link

I think that hood controls (power, speed) would be more correctly placed as a fan in Home Assistant rather than a switch

@DavidMStraub DavidMStraub added the enhancement New feature or request label May 6, 2020
@DavidMStraub
Copy link
Owner

Good idea. Since my hood is dumb, this and #57 would benefit from a volunteer.

@anthonyangel
Copy link
Author

I can try and give it a go, but can't promise that I'll get very far

@Sjack-Sch
Copy link
Contributor

Not sure what's the best way to map Home Connect fan programs/options/settings to the available Fan speed_list of HA.

HA fan speed_list: SPEED_OFF, SPEED_LOW, SPEED_MEDIUM, SPEED_HIGH.

HC fan program options: Automatic mode, Fan Setting, Fan Run-on (Delayed shut off)
Fan Setting has 2 options: Venting level or Intensive level.
Venting level has settings: FanOff, FanStage01, FanStage02, FanStage03, FanStage04, FanStage05
Intensive level has settings: IntensiveStageOff, IntensiveStage1, IntensiveStage2

The availability of HC Fan programs/options/settings differ per model, which make the mapping extra challenging.

Any ideas / proposals?

@anthonyangel
Copy link
Author

For mapping values to each other, arbitrarily picking the lowest (FanStage01), highest (IntensiveStage2) and something in the middle and mapping them to HA values would be a workable compromise IMHO (I can see how different HC options would make this a pain though)

There's a hacky solution which is to use the template fan and hide the switch entities

@DavidMStraub
Copy link
Owner

In any case, the fine-grained options will always be available through service calls, right? So having only limited (and somewhat arbitrary) options available through the fan integration seems justifyable.

@Sjack-Sch
Copy link
Contributor

I do not know how to use a service call in combination with HC.
I will try to setup the Fan entity.

@DavidMStraub
Copy link
Owner

I meant the services that are part of the beta version: see here
https://github.com/DavidMStraub/homeassistant-homeconnect/blob/master/custom_components/home_connect_beta/services.yaml

I thought that perhaps with set_option_selected the fan speed etc. could be set.

@Sjack-Sch
Copy link
Contributor

OK, I will give it a try.
I'll wait creating a PR until #105 is merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants