We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e36ea commit 0769efeCopy full SHA for 0769efe
custom_components/pyscript/config_flow.py
@@ -33,6 +33,7 @@ async def async_step_user(self, user_input: Dict[str, Any] = None) -> Dict[str,
33
34
async def async_step_import(self, import_config: Dict[str, Any] = None) -> Dict[str, Any]:
35
"""Import a config entry from configuration.yaml."""
36
+ # Convert OrderedDict to dict
37
import_config = json.loads(json.dumps(import_config))
38
39
# Check if import config entry matches any existing config entries
0 commit comments