Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Error when importing Settings[BUG] #170

Open
OtterOlli opened this issue Jan 23, 2024 · 1 comment
Open

Type Error when importing Settings[BUG] #170

OtterOlli opened this issue Jan 23, 2024 · 1 comment

Comments

@OtterOlli
Copy link

Describe the bug
While trying to import the libary an Type Error Exception occurs, claiming argument 'bases' has incorrect type. It seems to be given a tuple while expecting a list.

To Reproduce

  1. pip install
  2. try to import settings from ha_mqtt_discoverable

Expected behavior
To import without throwing an Exception

Screenshots
mqtt-discovarable screenshot

@Gifford47
Copy link
Contributor

Gifford47 commented Jan 25, 2024

same here... also installed via pip on python 3.11.7 on armhf with pydantic 1.10.14.
it depends on pydantic package, see this issue.

workaround: downgrading back to pydantic 1.10.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants