Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 162, in async_setup_entry
return await hass.data[DOMAIN].async_setup_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 149, in async_setup_entry
platform = await async_prepare_setup_platform(
File "/usr/src/homeassistant/homeassistant/setup.py", line 328, in async_prepare_setup_platform
platform = integration.get_platform(domain)
File "/usr/src/homeassistant/homeassistant/loader.py", line 498, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 503, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/ewelink_climate/climate.py", line 30, in <module>
class MideaClimate(ClimateEntity):
File "/config/custom_components/ewelink_climate/climate.py", line 125, in MideaClimate
def target_temperature_low(self) -> Optional[float]:
NameError: name 'Optional' is not defined
2021-06-18 13:03:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration ewelink_climate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-06-18 13:03:34 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'ewelink_climate'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'ewelink_climate'
2021-06-18 13:03:36 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'stream', 'script', 'braviatv', 'fan', 'trace', 'broadlink', 'synology_dsm', 'ios', 'mqtt', 'cover', 'browser_mod', 'ewelink_climate', 'light', 'conversation', 'sun', 'nodered', 'binary_sensor', 'discovery', 'input_number', 'logbook', 'group', 'tts', 'ffmpeg', 'shell_command', 'xiaomi_miio', 'vacuum', 'automation', 'ha_file_explorer', 'xiaomi_cooker', 'met', 'homekit', 'blueprint', 'zone', 'esphome', 'tag', 'common_timer', 'colorfulclouds', 'history', 'remote', 'zeroconf', 'input_select', 'updater', 'system_health', 'camera', 'sensor', 'switch', 'mobile_app', 'climate', 'device_tracker'}
2021-06-18 13:03:37 INFO (MainThread) [homeassistant.setup] Setting up ewelink_climate
2021-06-18 13:03:37 INFO (MainThread) [homeassistant.setup] Setup of domain ewelink_climate took 0.0 seconds
File "/config/custom_components/ewelink_climate/climate.py", line 30, in <module>
File "/config/custom_components/ewelink_climate/climate.py", line 125, in MideaClimate
华凌空调,美的美居下可控,易微联app下可发现,可控(但是我人不在家 具体控没控不清楚,易微联控后 美的美居app看是同步的,反过来操作也同步)日志没啥隐私,直接丢上来了,集成中添加后显示空白无实体
要在config的log下增加此集成的日志输出吗?
环境为docker HA 2021.4.3 日志从docker拿的