报错!!!!!!!!!!!!!!
2023-06-04 16:18:35.688 ERROR (MainThread) [homeassistant.setup] Error during setup of component ha_gaode_server
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 244, in _async_setup_component
task = component.async_setup(hass, processed_config)
File "/config/custom_components/ha_gaode_server/__init__.py", line 44, in async_setup
gpslogger_instance = DxGpsLogger(hass, gaode_server_key)
File "/config/custom_components/ha_gaode_server/gps_logger.py", line 25, in __init__
self.gaode_server_key = config.get("gaode_server_key")
AttributeError: 'str' object has no attribute 'get'
|