Skip to content

Commit

Permalink
temp fix for jsonschema (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
drc38 authored Sep 25, 2023
1 parent 01c6cee commit b2a7f75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/ocpp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"issue_tracker": "https://github.com/lbbrhzn/ocpp/issues",
"requirements": [
"ocpp>=0.14.1",
"websockets>=10.2"
"websockets>=10.2",
"jsonschema==4.19.0"
],
"version": "0.4.36"
}

1 comment on commit b2a7f75

@koopee
Copy link

@koopee koopee commented on b2a7f75 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the commit, this resolves OCPP issue with Home Assistant 2023.9.3 Supervisor 2023.09.2 Operating System 10.5 Frontend 20230911.0 - latest.

2023-09-26 13:51:20.424 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration ocpp: Unable to import component: cannot import name '_validators' from 'jsonschema' (/usr/local/lib/python3.11/site-packages/jsonschema/init.py)
....
ImportError: cannot import name '_validators' from 'jsonschema' (/usr/local/lib/python3.11/site-packages/jsonschema/init.py)

Please sign in to comment.