robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
306 stars 59 forks source link

[BUG] Version 4.4.62 - ERROR AT STARTUP: scan_interval_conf = self.entry.options.get( NameError: name 'self' is not defined #480

Closed StefanoGiu closed 7 months ago

StefanoGiu commented 1 year ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Describe the bug

[BUG] Version 4.4.62 - ERROR AT STARTUP: scan_interval_conf = self.entry.options.get( NameError: name 'self' is not defined

Steps to Reproduce

Expected behavior

Screenshots

Traceback/Error logs

Debug information - all JSON responses from logfile

Additional context

Phoenix-DH commented 1 year ago

Same here

JBoye commented 1 year ago

Same here as well `This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/volkswagencarnet/init.py:116 Integration: Volkswagen We Connect (documentation, issues) First occurred: 11:56:45 (1 occurrences) Last logged: 11:56:45

Error setting up entry Jenny for volkswagencarnet Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/volkswagencarnet/init.py", line 116, in async_setup_entry scan_interval_conf = self.entry.options.get( NameError: name 'self' is not defined `

andlo commented 1 year ago

same here :(

StefanoGiu commented 1 year ago

Btw, my WeConnect app on the mobile is not updating since a week... are you having the same issue too? Maybe it's a problem on their cloud server?

JBoye commented 1 year ago

Btw, my WeConnect app on the mobile is not updating since a week... are you having the same issue too? Maybe it's a problem on their cloud server?

It was working for me earlier today, but wouldn't reconnect after a restart

naked-head commented 1 year ago

same here:(

Sleazified commented 1 year ago

same here, weconnect app works fine

JBoye commented 1 year ago

Downgrading to v4.4.61 worked for me

robinostlund commented 1 year ago

@arthur1472 do you have some time to look into this? 😄

arthur1472 commented 1 year ago

@robinostlund , removing the self. on lines 116 and 117 of the __init__.py resolves this issue. Do you want to push it straight to master or do you want me to make a PR?

robinostlund commented 1 year ago

I can push directly @arthur1472 :)

andlo commented 1 year ago

That did it for me - now it is working again.

arthur1472 commented 1 year ago

@StefanoGiu , can you update to the latest version and see if it works?

robinostlund commented 7 months ago

Old issue, closing.