Error for default vacuum platform with Neato bots
See original GitHub issueChecklist
- I have updated the card to the latest version available
- I have cleared the cache of my browser
- I have checked if the problem is already reported
The problem
… assumes that there’s a fan_speed_list attribute on the vacuum, which is optional in the vacuum device type for HA. Neato botvacs, in particular, don’t have said attribute. Seems like checking for null and omitting the fan speed icon would be the safe thing here.
What version of a card has described problem?
2.0.8
What was the last working version card?
No response
What vacuum model do you have problems with?
Neato Botvac D7
Which integration do you use to control your vacuum (link)?
https://www.home-assistant.io/integrations/neato/
What browser (browsers/apps) does have this problem?
All
What version of Home Assistant do you use?
2021.12.1
What type of installation are you running?
Home Assistant Container
Card’s configuration
No response
Javascript errors shown in the browser’s console (if applicable)
xiaomi-vacuum-map-card.js?hacstag=193372044208:557 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
at Function.generate (xiaomi-vacuum-map-card.js?hacstag=193372044208:557)
at HTMLElement._setPresetIndex (xiaomi-vacuum-map-card.js?hacstag=193372044208:836)
at HTMLElement._firstHass (xiaomi-vacuum-map-card.js?hacstag=193372044208:836)
at HTMLElement.set hass [as hass] (xiaomi-vacuum-map-card.js?hacstag=193372044208:836)
at HTMLElement.value (hui-masonry-view.ts:44)
at hui-masonry-view.ts:44
at Array.map (<anonymous>)
at HTMLElement.value (hui-masonry-view.ts:44)
at HTMLElement.value (hui-masonry-view.ts:44)
at HTMLElement.value (hui-masonry-view.ts:44)
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:33 (19 by maintainers)
Top Results From Across the Web
Error Codes - Neato Robotics
In this table, you find the errors and alerts that may affect your Neato D8, D9, or D10. The error code is visible...
Read more >User guide - Neato Robotics
Meet your Neato Intelligent Robot Vacuum. • Neato rotating brush works like the brush in a regular upright vacuum cleaner. Do not use...
Read more >Programmer's Manual - Neato Robotics
AllMotorsOn. Turns on brush, vacuum, and lds during test. May conflict with motor commands of test so use carefully! DisablePickupDetect. Ignores pickup (wheel ......
Read more >Error Codes – Neato Robotics
Find answers to frequently asked questions and other how-to information for Neato robot vacuums and accessories. Select an Article.
Read more >D6 GSG comp.6_RevA_12.2.2019.indd - Neato Robotics
Congratulations on your new robot vacuum. This Wi-Fi enabled ... Table of Contents ... Errors. BATTERY LED is used to show: · Charge...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My bad. Apparently you can’t just replace the file when it was installed with HACS. I had to delete the matching .gz file that HACS creates (and serves) when it installs a frontend component. Once I deleted the .gz, it started serving the .js file.
…aaaaaand… IT WORKS!
Thanks for all the help man. So stoked to have this working.
Here’s an example of a working config on Neato:
Note this doesn’t handle segment cleaning yet. It just shows the segments and allows selection.
Here’s the result: