finity69x2 / fan-control-entity-row

Provides a means to show a compact graphical control row for 2 or 3 speed fans in Home Assistant
68 stars 27 forks source link

Fan service calls changing #42

Closed raz0rf0x closed 3 years ago

raz0rf0x commented 3 years ago

Heads up: I'm on the dev build right now and I get this when I use this lovelace addon. [homeassistant.components.fan] fan.set_speed is deprecated, use fan.set_percentage or fan.set_preset_mode instead. Explanations of the new methods are here in the dev docs. I don't know when this method is going away entirely, but this is coming at some point.

sumasage commented 3 years ago

this change has took effect for the lastest HA update. Will you update this to work with the new version?

mdeluca1992 commented 3 years ago

Would love to be able to tell each button what percentage it should be setting the fan at. After the most recent update the low button makes my fan medium, the medium is medium still, and high is high.

sumasage commented 3 years ago

fix can be found here https://community.home-assistant.io/t/2021-03-and-tasmotized-sonoff-ifan03-lots-of-errors-in-log-and-fan-unavailable/286780/10

nothing is wrong with the add on just need to add quotation mark to:

payload_available: "Online"
payload_not_available: "Offline"
speeds:
  - "off"
  - "low"
  - "medium"
  - "high"
scotty1395 commented 3 years ago

I still get the error message after adding quotes.

fan.set_speed is deprecated, use fan.set_percentage or fan.set_preset_mode instead.

finity69x2 commented 3 years ago

Yeah, that is from the new fan control scheme.

If you want to try it out you can install my newly created "fan-percent-button-row" available from my github or thru HACS.

It hopefully will solve the issues above.

And since this should be handled by the other plugin I'm going to close this now.