Loss my AC after update to msmart==0.1.24
See original GitHub issueDescribe the bug (描述一下问题) Hi, Mac.
After the last update to version msmart==0.1.24 (I updated on 12/01/2020), I get constant disappearing of my air conditioners. I see it in Logbook and History. There are no records of this in the Logs. Only once, right after the update:
Log Details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: core.py:1405
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: December 1, 2020, 9:04:03 AM (1 occurrences)
Last logged: December 1, 2020, 9:04:03 AM
[140718739954560] string value is None for dictionary value @ data['preset_mode']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1405, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 218, in __call__
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 340, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 336, in _exec
v = func(v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: string value is None for dictionary value @ data['preset_mode']
Before that, on version msmart==0.1.23 this was not. Everything worked fine and stable for a few months.
Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件)
请提交相关截图,日志,抓包让开发者能够更快的解决问题
Versions (版本信息)
- Home Assistant version: 0.118.4
- Midea msmart version: ==0.1.24
- My air conditioners: Midea Midea Mission II MB-09N8D6H-I/MB-09N8D6H-O and Midea Mission II MB-12N8D6H-I/MB-12N8D6H-O
- Wi-Fi module SK-102
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:45 (5 by maintainers)
Top Results From Across the Web
Why Is My AC Not Blowing Cold Air After a Power Outage?
If you find your AC not blowing cold air once power is restored after an outage, there may be a tripped breaker or...
Read more >Common Air Conditioner Problems | Department of Energy
Other common problems with existing air conditioners result from faulty installation, poor service procedures, and inadequate maintenance. Improper installation ...
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
@rokam I think I’m ready to roll back to v0.1.23, there are too many problems with UNAVAILABLE and this is causing problems for many people. What do you think?
Dongle OSK-103 is more stable with midea app and you don’t have the unavailability problems but is not recognized from mac-zhou/midea-ac-py. I just open an issue for that.