eyalcha / read_your_meter

Home Assistant sensor to read water meter
Apache License 2.0
37 stars 2 forks source link

integration not found #4

Closed pickeld closed 3 years ago

pickeld commented 3 years ago

Configuration


read_your_meter:
  host: http://localhost:4444
  username: xx@xx.com
  password: xx
  daily:
    - 0
    - 1
    - 2
    - 3
  monthly:
    - 0
    - 1
    - 2
    - 3    

Describe the bug

after upgrading to 2021.6.0 from 2021.5.5 when checking for configutation validation, it says: "Component error: read_your_meter - Integration 'read_your_meter' not found."

Debug log

2021-06-03 23:17:31 ERROR (SyncWorker_3) [homeassistant.loader] Error parsing manifest.json file at /config/custom_components/read_your_meter/manifest.json: Expecting property name enclosed in double quotes: line 9 column 1 (char 209)

2021-06-03 23:17:33 ERROR (MainThread) [homeassistant.setup] Setup failed for read_your_meter: Integration not found.

when trying to restart the system:

2021-06-03 23:27:47 ERROR (MainThread) [homeassistant.components.hassio] The system cannot restart because the configuration is not valid: Component error: read_your_meter - Integration 'read_your_meter' not found.
2021-06-03 23:27:47 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140478336601440] The system cannot restart because the configuration is not valid: Component error: read_your_meter - Integration 'read_your_meter' not found.
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 518, in async_handle_core_service
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Component error: read_your_meter - Integration 'read_your_meter' not found.
pickeld commented 3 years ago

add "version": "" to manifest.json file.