fars-fede-fire / clever_api Goto Github PK
View Code? Open in Web Editor NEWClever API Home Assistant custom component version 2
License: MIT License
Clever API Home Assistant custom component version 2
License: MIT License
version | core-2023.3.6 |
---|---|
installation_type | Home Assistant Container |
dev | false |
hassio | false |
docker | true |
user | root |
virtualenv | false |
python_version | 3.10.10 |
os_name | Linux |
os_version | 6.1.16-2-MANJARO-ARM-RPI |
arch | aarch64 |
timezone | Europe/Copenhagen |
config_dir | /config |
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 4644 |
Installed Version | 1.31.0 |
Stage | running |
Available Repositories | 1250 |
Downloaded Repositories | 16 |
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
dashboards | 3 |
---|---|
resources | 13 |
views | 11 |
mode | storage |
oldest_recorder_run | 7 March 2022 at 16:38 |
---|---|
current_recorder_run | 28 March 2023 at 20:07 |
estimated_db_size | 7098.55 MiB |
database_engine | mysql |
database_version | 10.10.2 |
When trying to add a home charger i just get an error
| 2023-03-28 18:21:22.406 ERROR (MainThread) [aiohttp.server] Error handling request
homeassistant | Traceback (most recent call last):
homeassistant | File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
homeassistant | resp = await request_handler(request)
homeassistant | File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
homeassistant | resp = await handler(request)
homeassistant | File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
homeassistant | return await handler(request)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 67, in security_filter_middleware
homeassistant | return await handler(request)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 227, in forwarded_middleware
homeassistant | return await handler(request)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
homeassistant | return await handler(request)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
homeassistant | return await handler(request)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 234, in auth_middleware
homeassistant | return await handler(request)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
homeassistant | result = await result
homeassistant | File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
homeassistant | return await super().post(request, flow_id)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
homeassistant | result = await method(view, request, data, *args, **kwargs)
homeassistant | File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
homeassistant | result = await self._flow_mgr.async_configure(flow_id, data)
homeassistant | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure
homeassistant | result = await self._async_handle_step(
homeassistant | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
homeassistant | result: FlowResult = await getattr(flow, method)(user_input)
homeassistant | File "/config/custom_components/clever_api/config_flow.py", line 130, in async_step_box
homeassistant | resp = await sub.get_evse_info()
homeassistant | File "/config/custom_components/clever_api/clever/clever.py", line 201, in get_evse_info
homeassistant | model = EvseInfo.parse_obj(resp)
homeassistant | File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 526, in parse_obj
homeassistant | return cls(**obj)
homeassistant | File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 341, in __init__
homeassistant | if validation_error:
homeassistant | pydantic.error_wrappers.ValidationError: 1 validation error for EvseInfo
homeassistant | data -> 0 -> smartChargingConfiguration
homeassistant | none is not an allowed value (type=type_error.none.not_allowed)
No response
No
It it possible to change the setup, so you only have to enter your api key ?
I've already got access to my api key and can call everything from curl so if the setup could be change to only require input of the api key :-)
none
when i have to write my mail, it somes with an error
...
i am new to github
i am new to github
version | core-2023.9.2 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.5 |
os_name | Linux |
os_version | 6.1.45 |
arch | x86_64 |
timezone | Europe/Copenhagen |
config_dir | /config |
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 4996 |
Installed Version | 1.32.1 |
Stage | running |
Available Repositories | 1293 |
Downloaded Repositories | 44 |
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
host_os | Home Assistant OS 10.5 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.09.2 |
agent_version | 1.5.1 |
docker_version | 23.0.6 |
disk_total | 62.3 GB |
disk_used | 38.2 GB |
healthy | true |
supported | true |
board | ova |
supervisor_api | ok |
version_api | ok |
installed_addons | Advanced SSH & Web Terminal (15.0.8), Cloudflared (4.2.7), ESPHome (2023.8.3), Home Assistant Google Drive Backup (0.111.1), Mosquitto broker (6.3.1), PS5 MQTT (1.3.1), Piper (1.3.2), Portainer (2.0.0), Samba share (10.0.2), Studio Code Server (5.10.2), Vaultwarden (Bitwarden) (0.20.0), MariaDB (2.6.1), go2rtc (1.7.1), Node-RED (14.5.0) |
dashboards | 1 |
---|---|
resources | 32 |
views | 1 |
mode | yaml |
oldest_recorder_run | September 15, 2023 at 19:24 |
---|---|
current_recorder_run | September 23, 2023 at 17:17 |
estimated_db_size | 6159.80 MiB |
database_engine | mysql |
database_version | 10.6.12 |
I am getting internal server error when I am trying to initialise the integration. Is it the result of the API deprecation or removal?
No logs can be given. Integration cannot be initialised.
No response
version | core-2023.9.0 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.5 |
os_name | Linux |
os_version | 6.1.45 |
arch | x86_64 |
timezone | Europe/Copenhagen |
config_dir | /config |
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 5000 |
Installed Version | 1.32.1 |
Stage | running |
Available Repositories | 1293 |
Downloaded Repositories | 72 |
logged_in | true |
---|---|
subscription_expiration | 19. december 2023 kl. 01.00 |
relayer_connected | true |
relayer_region | eu-central-1 |
remote_enabled | true |
remote_connected | true |
alexa_enabled | false |
google_enabled | true |
remote_server | eu-central-1-8.ui.nabu.casa |
certificate_status | ready |
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
host_os | Home Assistant OS 10.5 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.08.3 |
agent_version | 1.5.1 |
docker_version | 23.0.6 |
disk_total | 97.7 GB |
disk_used | 36.7 GB |
healthy | true |
supported | true |
board | ova |
supervisor_api | ok |
version_api | ok |
installed_addons | Samba share (10.0.2), Glances (0.19.2), Log Viewer (0.15.1), MariaDB (2.6.1), Mosquitto broker (6.3.1), Node-RED (14.4.5), Advanced SSH & Web Terminal (15.0.7), Studio Code Server (5.10.1), Zigbee2MQTT (1.33.0-1), ESPHome (dev) (dev), ESPHome (2023.8.3), Emulated HUE (dev) (0.3.0), File editor (5.6.0), AdGuard Home (4.8.14), Nginx Proxy Manager (0.12.3), Zigbee2MQTT Edge (edge) |
dashboards | 7 |
---|---|
resources | 44 |
views | 10 |
mode | storage |
oldest_recorder_run | 8. august 2023 kl. 09.07 |
---|---|
current_recorder_run | 7. september 2023 kl. 13.12 |
estimated_db_size | 3405.78 MiB |
database_engine | mysql |
database_version | 10.6.12 |
api_endpoint_reachable | pending |
---|
when trying to configure the integration i get
homeassistant.requirements.RequirementsNotFound: Requirements for clever_api not found: ['pydantic==1.10'].
2023-09-08 08:39:27.252 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 94, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 147, in post
return await super().post(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
result = await self._flow_mgr.async_init(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 846, in async_init
flow, result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 864, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 966, in async_create_flow
handler = await _async_get_flow_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2063, in _async_get_flow_handler
await _load_integration(hass, domain, hass_config)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2039, in _load_integration
await async_process_deps_reqs(hass, hass_config, integration)
File "/usr/src/homeassistant/homeassistant/setup.py", line 420, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File "/usr/src/homeassistant/homeassistant/requirements.py", line 52, in async_get_integration_with_requirements
return await manager.async_get_integration_with_requirements(domain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/requirements.py", line 171, in async_get_integration_with_requirements
await self._async_process_integration(integration, done)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 186, in _async_process_integration
await self.async_process_requirements(
File "/usr/src/homeassistant/homeassistant/requirements.py", line 245, in async_process_requirements
self._raise_for_failed_requirements(name, missing)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 274, in _raise_for_failed_requirements
raise RequirementsNotFound(integration, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for clever_api not found: ['pydantic==1.10'].
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.