Also I haven’t been able to test version 2 with presets to see if the voice assistants (I use Echo’s) will recognize the speeds. And I probably won’t get to it it for a few days.
So if anyone wants to try this out and report back that would be helpful.
Using Version 2 with presets with fan-percent-button-row. It doesn’t work with fan-control-entity-row. Works well except:
When i press the Off switch from the details window, then preset dropbox in details window goes to ‘off’ directly, as expected.
But when i press Off button in fan percent row entity, in details window, Preset dropbox stays at the last preset even tough the fan is off.
I am not using any assistant so i couldn’t test it.
Thanks a lot for the .yaml and the components…
EDIT: I think the Off button in fan percent row entity sets the percent to 0 but it does not really switch off the Fan… Becuse the on/off button statys switched on even tough the percent is 0.
Right, that plugin will “kind of” work for now until they fully deprecate the speed list. But you will get warnings in the log because it uses the fan.set_speed service which is going to be deprecated along with the speed list.
It shouldn’t work at all really using the percentages because it doesn’t use the correct service (as noted above).
It might still work somewhat since, for now, the fans still contain a speed list.
That’s why I need to get the other two plugins going.
Have you tried the fan-percent-button-row yet?
It might have some bugs that I need to work out but it worked well in my setup using template fans I created to test it.
For sonoff ifan03, i actually use your yaml with preset modes above, together with fan-percent-button-row component. The bug for fan-percent-button-row is as i stated in my previous message…
If you are using preset modes the fan-percent-button row won’t work either since it uses the set_percentage service.
If you are using presets then the service needs to be set_preset_mode.
I’m working on a new plugin to use preset modes but I haven’t had any time to finish it yet since I just figured out how the new stuff was supposed to work.
I have to say they definitely took something that worked fairly easy and straight forward and turned it into a convoluted mess with the new updates for fans.
Hi
I’m using the first version percentages but I’ve found if the fan is on and I reboot Home Assistant the fan percent row shows the fan as off when HA comes back online. Is there anyway to fix that?
Thanks
Dan
I have to say they definitely took something that worked fairly easy and straight forward and turned it into a convoluted mess with the new updates for fans.
Well it wouldnt be HomeAssistant without that. Isnt one of the unspoken requirements of core pr’s that the code need not be more complicated and adding unnecessary workarounds, etc?
Yet, I feel on every few updates, the client side coding needs to be unnecessarly add-ed to.
I finally got the new plugin ready for use with fans using preset modes.
try it out here:
It’s not in HACS yet and TBH, there seems to be a pretty bad backlog of repos that need to be added to the HACS default list so I’m not sure when this will get added to HACS. So you will likely need to install this manually if you want to try it out.
It will look the same as my other plugins and will be just as theme-able.
And I have it set up for fans to use either two or three preset modes.
Give it a try and let me know (as usual) if you have any issues.
Brilliant as always, got the new plugin and copied the examples at the top and now have working fans for the future - I was dreading this breaking change but it was nice and easy, thanks Finity!
For anyone using Node-Red on their Fans (I use it to cycle speeds/off from RF switches) there’s also one breaking change in that the fan no longer reports a speed, but a preset as the current ‘state’. So you’ll need to use data.attributes.preset_mode to detect where in the speed range the fan is.