Giter Site home page Giter Site logo

Comments (14)

hackex avatar hackex commented on July 18, 2024 1

PowerCalc works again after updating HomeAssistant. Thanks

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

I'm not sure what you are talking about.
Any logs / screenshots?

from homeassistant-powercalc.

hackex avatar hackex commented on July 18, 2024

I'm not sure what you are talking about. Any logs / screenshots?

migrationerror_powercalc

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

Never seen this I have no clue sorry.
Maybe the logs provide some insights as to the exact reason?

from homeassistant-powercalc.

hackex avatar hackex commented on July 18, 2024

I have added "custom_components.powercalc: debug" to my configuration, but I don't know where do download the log file.

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

Settings -> System -> Logs.

I doubt powercalc debug logging would provide further insights.
Issue should probably be logged as error already by some HA core logging.

from homeassistant-powercalc.

hackex avatar hackex commented on July 18, 2024

I only have some hdd space issues:
2024-04-10 14:39:57.046 WARNING (SyncWorker_0) [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server
2024-04-10 14:39:57.052 WARNING (MainThread) [supervisor.host.network] Requested to update interface end0 which does not exist or is disabled.
2024-04-10 14:40:08.403 WARNING (MainThread) [supervisor.jobs] 'PluginCli.update' blocked from execution, not enough free space (0.4GB) left on the device
2024-04-10 14:40:08.403 ERROR (MainThread) [supervisor.plugins.manager] Can't update cli to 2024.03.1, the Supervisor healthy could be compromised!
2024-04-10 14:40:08.406 WARNING (MainThread) [supervisor.jobs] 'PluginDns.update' blocked from execution, not enough free space (0.4GB) left on the device
2024-04-10 14:40:08.407 ERROR (MainThread) [supervisor.plugins.manager] Can't update dns to 2024.04.0, the Supervisor healthy could be compromised!
2024-04-10 14:40:08.410 WARNING (MainThread) [supervisor.jobs] 'PluginMulticast.update' blocked from execution, not enough free space (0.4GB) left on the device
2024-04-10 14:40:08.410 ERROR (MainThread) [supervisor.plugins.manager] Can't update multicast to 2024.03.0, the Supervisor healthy could be compromised!
2024-04-10 14:40:12.955 INFO (MainThread) [main] Running Supervisor

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

What happens when you click three dots and "Reload"?

from homeassistant-powercalc.

hackex avatar hackex commented on July 18, 2024

nothings happens...that it after I clicked on reload

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

Nothing in the logs than also? Could you download diagnostics, also by clicking three dots.

from homeassistant-powercalc.

hackex avatar hackex commented on July 18, 2024

Now an error shows up:

Logger: homeassistant.config_entries
Source: config_entries.py:701
First occurred: 15:29:56 (4 occurrences)
Last logged: 15:29:56

Error migrating entry PV Ostdach for powercalc
Error migrating entry Electricity Imp for powercalc
Error migrating entry Electricity Exp for powercalc
Error migrating entry Gasleistung EG for powercalc

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 701, in async_migrate
result = await component.async_migrate_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powercalc/init.py", line 406, in async_migrate_entry
hass.config_entries.async_update_entry(config_entry, data=data, version=3)
TypeError: ConfigEntries.async_update_entry() got an unexpected keyword argument 'version'

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

ah ok, at least we have an error now, will have a look next friday or saturday. I'm planning to work for a few hours on Powercalc than.

from homeassistant-powercalc.

bramstroker avatar bramstroker commented on July 18, 2024

Upgrading HA to more recent version will fix your problem btw. You'll need HA version 2024.3 or higher
I will see if I can I can make things backwards compatible so I can also support a little older version of HA, which you are running.

from homeassistant-powercalc.

hackex avatar hackex commented on July 18, 2024

No need to make it backwards compatible. I try to update after cleaning the sqlite database because it's way too huge with 11GB :/

from homeassistant-powercalc.

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.