I am running Home Assistant 110.5 and firmware version 358_0358. I did notice a while back that things changed. I am fine with the change if they are both in sync. The problem is that the fan_speed_list reports Silent, Standard, Medium, Turbo, Gentle, which seems to be in line with new changes but the fan_speed sensor reports unknown which makes it tough to see the actual fan speed. That along with the fact that the mi homes app still reports the old fan speeds in kinda confusing.
Edit: duh, I think I figured it out. I was templating the numbers into an actual readable value. Now that fan speed is recorded in an actual readable value, I no longer need the template sensor, which obviously now reports unknown
The app still reports different values than Home Asssitant’s fan_speed_list though. Easy enough to get around.
I have a Xiaomi vacuum V1 (FW : 3.5.8_004018) and since the update (one or two weeks ago), the fan speed options have changed.
I still have these ‘named’ options in the app, but they are now reported as numbers in HomeAssistants.
For those interested, here is the correspondance:
Silent --> 38
Standard --> 60
Turbo --> 75
Max --> 100
I have the roborocks s4. If I do {{state_attr('vacuum.xiaomi_vacuum_cleaner', 'fan_speed_list' ) }} I get this list:
[‘Silent’, ‘Standard’, ‘Medium’, ‘Turbo’, ‘Gentle’]
But every night I get the following two errors and I can’t figure out why:
Got exception while fetching the state: Unable to discover the device 192.168.x.x
Logger: homeassistant.components.input_select
Source: components/input_select/__init__.py:256
Integration: Input select (documentation, issues)
First occurred: January 11, 2021, 3:04:31 AM (6 occurrences)
Last logged: 1:02:19 PM
Invalid option: (possible options: Silent (101), Balanced (102), Turbo (103), Max (104))
They happen within seconds of each other. The first one has always happened. Prob something to do with checking for updates of something, but the second one just recently started. Any ideas on why this is happening!
The first one is normal: at night the vacuum disconnect from wifi. I don’t know why but for my Roborock it is every night at 3:13.
Regarding the 2nd one, could you show us your input_select code? It seems that you are using values other than Silent, Balanced, Turbo and Max
For Robot V1 users (fw: 3.5.8_004018), setting fan speed by using default vacuum card doesn’t work anymore.
Can be fixed by going to Configuration/Customizations and putting [“38”,“60”,“75”,“100”] in “Fan speed list” of the robot (vacuum) entity.
or put this into customize.yaml (replace “vacuum.robot” with your entity name):