Comments (5)
This is now fixed for me after the latest update! Thank you!
from simple-wyze-vac.
Here are my logs when I try to install:
Logger: homeassistant.config_entries
Source: components/system_log/init.py:96
First occurred: 10:35:57 AM (1 occurrences)
Last logged: 10:35:57 AM
Error setting up entry Simple Wyze Vac for simple_wyze_vac
Traceback (most recent call last):
File "/config/custom_components/simple_wyze_vac/__init__.py", line 70, in async_setup_entry
if vac_info.current_map.rooms is not None:
File "/usr/local/lib/python3.10/site-packages/wyze_sdk/models/devices/vacuums.py", line 380, in rooms
return [VacuumMapRoom(**room) for room in map_data['12']]
File "/usr/local/lib/python3.10/site-packages/wyze_sdk/models/devices/vacuums.py", line 380, in <listcomp>
return [VacuumMapRoom(**room) for room in map_data['12']]
TypeError: wyze_sdk.models.devices.vacuums.VacuumMapRoom() argument after ** must be a mapping, not str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/simple_wyze_vac/__init__.py", line 75, in async_setup_entry
_LOGGER.warn("Failed to query vacuum rooms. If your firmware is higher than 1.6.113, rooms is currently not supported. Exception: ", err)
File "/usr/local/lib/python3.10/logging/__init__.py", line 1494, in warn
self.warning(msg, *args, **kwargs)
File "/usr/local/lib/python3.10/logging/__init__.py", line 1489, in warning
self._log(WARNING, msg, args, **kwargs)
File "/usr/local/lib/python3.10/logging/__init__.py", line 1624, in _log
self.handle(record)
File "/usr/local/lib/python3.10/logging/__init__.py", line 1634, in handle
self.callHandlers(record)
File "/usr/local/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
hdlr.handle(record)
File "/usr/local/lib/python3.10/logging/__init__.py", line 968, in handle
self.emit(record)
File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 179, in emit
entry = LogEntry(
File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 96, in __init__
self.message = deque([record.getMessage()], maxlen=5)
File "/usr/local/lib/python3.10/logging/__init__.py", line 368, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
from simple-wyze-vac.
The Base32 key is optional for those who want to use 2FA (through TOTP) on their account. See here for more information - https://github.com/romedtino/simple-wyze-vac#totp
As for your error, it looks like you're vacuuming is on a completely new firmware version. Looks similar to what this person was seeing - #31
from simple-wyze-vac.
I get the same error. Firmware has been the same for months. Only thing that has changed was a Home Assistant update.
from simple-wyze-vac.
Workaround fixes issue
from simple-wyze-vac.
Related Issues (20)
- [BUG] After removing and re-adding integration, TypeError: unsupported operand type(s) for -: 'int' and 'NoneType' HOT 7
- Image is blank on >1.7.3; Firmware 1.6.202 HOT 2
- [BUG] SSLCertVertification error HOT 1
- [BUG] requirement not found HOT 15
- Query History? HOT 2
- Integration "Failed to Setup" HOT 2
- Will this change to Wyze login affect the intigration HOT 2
- [BUG]
- [QUESTION] Anyone have a working Xiomi lovelace config with room selection? HOT 4
- [BUG] Control switches reset after rebooting HA HOT 2
- Can't log in, appears to be due to the new API requirements HOT 15
- [BUG] Cannot install, config flow fails HOT 2
- Log In failed HOT 1
- Support for multiple floors? HOT 1
- [BUG] 400 Client Error: Bad Request on Login HOT 3
- Dining Room Not appearing HOT 1
- HA Simple-Wyze-Vac automation Cleaning wrong room(s) HOT 1
- [BUG] After configuration it's not adding entities HOT 3
- [BUG] room selection via switches not working HOT 2
- deprecated supported features HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-wyze-vac.