homeassistant-midea-air-appliances-lan: 0.6 beta errors after adding integration
Version of the custom_component:
0.6 beta
Configuration
Describe the bug
Updated to 0.6 beta, restarted HA. Then removed the integration and added it again. After another restart I get the two errors. If I open the Konfigration of this integration it looks like this:
Debug log
Logger: homeassistant.config_entries Source: custom_components/midea_dehumidifier_lan/hub.py:345 Integration: Midea Air Appliances (LAN) (documentation, issues) First occurred: 22:29:44 (1 occurrences) Last logged: 22:29:44
Error setting up entry Midea Air Appliance for midea_dehumidifier_lan Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 313, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File “/config/custom_components/midea_dehumidifier_lan/init.py”, line 63, in async_setup_entry await hub.async_setup() File “/config/custom_components/midea_dehumidifier_lan/hub.py”, line 449, in async_setup await self._setup_discovery() File “/config/custom_components/midea_dehumidifier_lan/hub.py”, line 400, in _setup_discovery self.discovery_helper.setup(self.data) File “/config/custom_components/midea_dehumidifier_lan/hub.py”, line 345, in setup if device[CONF_DISCOVERY] != DISCOVERY_LAN: KeyError: ‘discovery’
Logger: custom_components.midea_dehumidifier_lan.hub Source: custom_components/midea_dehumidifier_lan/api.py:52 Integration: Midea Air Appliances (LAN) (documentation, issues) First occurred: 22:29:44 (1 occurrences) Last logged: 22:29:44
Error while setting appliance id=18691697883547 sn=000000P0000000Q1A0681CAD4B810000 ip=192.168.0.106: Missing cloud credentials Traceback (most recent call last): File “/config/custom_components/midea_dehumidifier_lan/hub.py”, line 514, in _process_appliance appliance = await self.hass.async_add_executor_job( File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run result = self.fn(*self.args, **self.kwargs) File “/config/custom_components/midea_dehumidifier_lan/api.py”, line 52, in appliance_state return midea_beautiful_api.appliance_state( File “/usr/local/lib/python3.9/site-packages/midea_beautiful/init.py”, line 130, in appliance_state return get_appliance_state( File “/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py”, line 943, in get_appliance_state raise MideaError(“Missing cloud credentials”) midea_beautiful.exceptions.MideaError: Missing cloud credentials
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (9 by maintainers)