Good Morning,
I was up early and noticed that HA Core had and update to 2022.2.7 and ESPHome 2022.2.1 so did the updates and a backup before I did your instructions.
I followed you instructions and all went well until I got to clearing the cache using F12. This did not do as you said on my laptop and I tried Firefox & chrome. To clear the cache I went to settings and cleared the cache from there. I think that should work? I even tried it on the NUC ( HA machine) which is running Ubuntu and I used chrome here (same result)
There is something that I just noticed a typo in your information
In the Options in the CONTROL card you have sensStateWithSpeed when it should be sendStateWithSpeed
I also found
To Delete the browser cache with a shortcut.
The fastest way to get rid of the cache data in Google Chrome is the option âClear Browser cacheâ. You can access this function with the following shortcut:
Press the keys [Ctrl], [Shift] and [Del]. Be sure you press all the keys at once.
Redownload - Done. Told me it was version 1.9 Restart HA - Done Try - Percent Row Clear Cache
From Log. It still gives this in log
Logger: homeassistant.components.fan Source: components/fan/init.py:221 Integration: Fan (documentation, issues) First occurred: 6:04:04 AM (3 occurrences) Last logged: 6:07:30 AM
The fan.set_speed service is deprecated and will fail in 2022.3 and later, use fan.set_percentage or fan.set_preset_mode instead
Try Again after clear cache
However when I use and automation
- id: '1621026002356'
alias: Master Bedroom Fan Turn-On 26-29
description: Turn on MB Fan when bedroom temp between 26 and 29C
trigger:
- platform: numeric_state
entity_id: sensor.sonoff_1000e5a438_temperature
above: '26'
for: 00:10:00
below: '28.5'
condition:
- condition: and
conditions:
- condition: state
entity_id: fan.sonoff_1000f6e1ca
state: 'off'
action:
- service: fan.turn_on
target:
entity_id: fan.sonoff_1000f6e1ca
data:
percentage: 33
mode: single
The log does not update to 4 occurrences with this.
My FAN Turn on Automationâs work fine.
The percent button row doesnât use the set_speed service anywhere at all. It uses set_percentage just like the warning says to use.
I really have no idea how to help you anymore because I canât reproduce what is happening to you.
The only thing I have left for you to try is to just completely remove the fan-control-entity-row plugin from HACS and resrart/clear cache/Try again using just the percent row plugin and see if you get the same warnings.
Worst case is that it still doesnât work and you will need to download the other fan control plugin again.
OK Thank you for all your help so far you have been very patient and helpful.
I will try what you say when I get a few appointments and chores out of the road. They have been building up.
I will keep you posted on anything positive I find.
Thanks once again.
the issue still is that your fans donât report the current percentage attribute correctly.
I keep seeing in the screenshots you post that the percentage is always 0.
the plugin uses the reported percentage to set the states of the buttons as on or off and to determine if the off button can actually do anything - if the percentage is 0 then the plugin thinks the fan is already off so it is disabled.
Until you get the current state (percentage attribute) of the fan reported correctly you should probably stick to using the fan-control-entity-row plugin since the speeds still work at least for now.
You really need to follow up with a bug report to the owner of the integration that your fans are using to get those issues sorted out.
As a side note I tried that Vegemite stuff once. Letâs just say that it must be an acquired taste that we in the US havenât achieved yetâŚ
The issue was already raised on https://github.com/AlexxIT/SonoffLAN/issues/699
It is flagged as an enhancement!!
I have added a comment and informed the owner that the Fan.set_speed service will fail in 2022.3 and later with the hope that it might get more attention.
If I could somehow get that variable into the Button card and test for Low, Medium, High then have the fan speed change accordingly that would be cool. In the the video in this series RomRider does this but I am at a loss to try and make it work with my iFan03âs.
He has used ESPHome and flashed a switch.
Anyway I will keep plugging and hope that the owner of (AlexxIT) fixes the code.
PS the secret with Vegemite is to spread it very thinly on buttered toast. Too much spoils the taste!