Skip to content

Commit

Permalink
Fix circular import
Browse files Browse the repository at this point in the history
This was set up so the module was `lucidmotors` and it wanted to import
the dependency `lucidmotors`. Now this module is
`custom_component.lucidmotors` instead, which should be good to import
the actual `lucidmotors`.
  • Loading branch information
nshp committed Nov 18, 2023
1 parent 346d64c commit f067cd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added custom_components/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion scripts/develop
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi
## This let's us have the structure we want <root>/custom_components/lucidmotors
## while at the same time have Home Assistant configuration inside <root>/config
## without resulting to symlinks.
export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components"
export PYTHONPATH="${PYTHONPATH}:${PWD}"

# Start Home Assistant
hass --config "${PWD}/config" --debug

0 comments on commit f067cd3

Please sign in to comment.