Giter VIP home page Giter VIP logo

Comments (9)

shutupflanders avatar shutupflanders commented on August 14, 2024

Hi,

It's been a while since I've upgraded my HomeAssistant instance as I stayed back after the custom component fiasco - are you installing this via HACS or have you copied the codebase to the specified directory in the readme?

from sensor.moneydashboard.

J0han3s avatar J0han3s commented on August 14, 2024

from sensor.moneydashboard.

shutupflanders avatar shutupflanders commented on August 14, 2024

Hi,

Try remove the above sensor block from your configuration and restart, then re-add it and try a config check again.

Unless you've already tried that - what version of HA and HACS are you using?

from sensor.moneydashboard.

J0han3s avatar J0han3s commented on August 14, 2024

Hi ,

Thanks again for assisting. Yes, I had tried it and tried it again, with no luck. When I removed it, I was able to restart, but could not add it back in.

`Platform error sensor.moneydashboard - Integration 'moneydashboard' not found.

Home Assistant 2021.7.4

System Health

version core-2021.7.4
installation_type Home Assistant Container
dev false
hassio false
docker true
virtualenv false
python_version 3.9.5
os_name Linux
os_version 5.10.0-0.bpo.8-amd64
arch x86_64
timezone Europe/London
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4875
Installed Version 1.15.0
Stage running
Available Repositories 940
Installed Repositories 10
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Lovelace
dashboards 1
resources 2
views 1
mode storage
`

from sensor.moneydashboard.

shutupflanders avatar shutupflanders commented on August 14, 2024

I'm still on core-2020.12.2 so I'll have to try setup a new dev environment and have a look at it at some point.
I'm really busy with work so it might not be for a while I'm afraid.

from sensor.moneydashboard.

J0han3s avatar J0han3s commented on August 14, 2024

from sensor.moneydashboard.

thekitehunter avatar thekitehunter commented on August 14, 2024

My log showed:
2021-09-03 14:52:09 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'moneydashboard' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details.
Which says:
"The version key is required from Home Assistant version 2021.6"

I added the line: "version": ["21.1.1"], to the manifest.json file and it now appears as an integration
Hope that helps

from sensor.moneydashboard.

slunat avatar slunat commented on August 14, 2024

Just dropped by to say im running into the same issue. Managed to get it to at least detect the integration by make the change to the manifest file as above. Unfortunately, I am still not able to get it working as the plugin won't start. My logs show the below:

2021-12-05 21:13:52 ERROR (SyncWorker_5) [root] [HTTP Error]: Failed to login (400 Client Error: Bad Request for url: https://my.moneydashboard.com/landing/login) 2021-12-05 21:13:53 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up moneydashboard platform for sensor Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/moneydashboard/moneydashboard.py", line 76, in login response.raise_for_status() File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://my.moneydashboard.com/landing/login During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/custom_components/moneydashboard/sensor.py", line 60, in update data = json.loads(self._md.get_balances()) File "/usr/local/lib/python3.9/site-packages/moneydashboard/moneydashboard.py", line 135, in get_balances accounts = self.get_accounts() File "/usr/local/lib/python3.9/site-packages/moneydashboard/moneydashboard.py", line 95, in get_accounts self.login() File "/usr/local/lib/python3.9/site-packages/moneydashboard/moneydashboard.py", line 79, in login raise LoginFailedException moneydashboard.moneydashboard.LoginFailedException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/moneydashboard/sensor.py", line 41, in setup_platform add_entities([MoneyDashboardBalances(md=md, unit_of_measurement="GBP")]) File "/config/custom_components/moneydashboard/sensor.py", line 54, in __init__ self.update() File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 277, in wrapper result = method(*args, **kwargs) File "/config/custom_components/moneydashboard/sensor.py", line 64, in update except GetAccountsListFailedException: NameError: name 'GetAccountsListFailedException' is not defined

My login details are definitely correct as I have signed in manually with the same details as what I have in my config file, so there is an issue somewhere else.

from sensor.moneydashboard.

thekitehunter avatar thekitehunter commented on August 14, 2024

As well as the version number being missing, the log in page has changed, per the error message:
Bad Request for url: https://my.moneydashboard.com/landing/login
its now:
https://my.moneydashboard.com/?signin=true ... and the login is probably different, so this integration is now dead and needs removing

from sensor.moneydashboard.

Related Issues (5)

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.