Giter Site home page Giter Site logo

Comments (6)

RustyDust avatar RustyDust commented on August 27, 2024 1

Should be easy to fix by adding a hacs.json to the repository. Minimum content would be sth like this:

{
  "name": "SonnenBatterie",
   "render_readme": true,
   "homeassistant": "2023.9.0"
 }

I'm currently on the road so I've got no access to my dev systems. But I could fix that later today.

from ha_sonnenbatterie.

RustyDust avatar RustyDust commented on August 27, 2024

Anything in the logs?

from ha_sonnenbatterie.

weltmeyer avatar weltmeyer commented on August 27, 2024

I had the same error, redownloading the integration within hacs fixed it.

Log Entry was:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:240
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 7. März 2024 um 22:03:44 (1 occurrences)
Last logged: 7. März 2024 um 22:03:44

[140116361462848] The version 75a3e8c for this integration can not be used with HACS.
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 240, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2279, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2316, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 962, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 161, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 465, in async_install_with_progress
    await self.async_install(version, backup)
  File "/config/custom_components/hacs/update.py", line 111, in async_install
    await self._ensure_capabilities(version)
  File "/config/custom_components/hacs/update.py", line 95, in _ensure_capabilities
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The version 75a3e8c for this integration can not be used with HACS.

from ha_sonnenbatterie.

alsFC avatar alsFC commented on August 27, 2024

Can report the same. I think it's related to the fact that the integration has no proper versioning and release-management in the HA-kind of managing.

from ha_sonnenbatterie.

weltmeyer avatar weltmeyer commented on August 27, 2024

there it is:
https://github.com/hacs/integration/blob/a42209065cffe7f5dc3a63ed18314aea47726c3d/custom_components/hacs/update.py#L96

from ha_sonnenbatterie.

celeduc avatar celeduc commented on August 27, 2024

Thank you everybody! I love this community 💘

from ha_sonnenbatterie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.