Netatmo errors appeared since upgrading from 0.83.3 to 0.84.1

Hi all, this morning I updated hass.io from 83.3 to 84.1 since then I have 3 error popping up on restart.

018-12-14 14:51:09 WARNING (SyncWorker_11) [homeassistant.components.sensor.netatmo] Ignoring unknown var battery_percent for mod Outdoor
2018-12-14 14:51:09 WARNING (SyncWorker_11) [homeassistant.components.sensor.netatmo] Ignoring unknown var battery_percent for mod Rain gauge
2018-12-14 14:51:10 WARNING (SyncWorker_11) [homeassistant.components.sensor.netatmo] Ignoring unknown var battery_percent for mod Wind Gauge

All sensors are present and accounted for, Home Assistant is working perfectly only that I have these errors.

my netatmo.yaml FYI

Netatmo configuration

api_key: !secret netatmo_api_key
secret_key: !secret netatmo_secret_key
username: !secret netatmo_username
password: !secret netatmo_password

Can confim same issue.

1 Like

I have the same issue

Anyone managed to get this fixed? I know its fixed on 0.65 but 0.65 was way to buggy for my likings so I’ve rolled back to 0.64.

Thanks

Since moving to Home Assistant 0.85.1 I’ve had not issues with Netatmo and the original issue is resolved.

hallo!

this is my error log. since 0.81 i can‘t connect to netatmo:

Error during setup of component netatmo
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/netatmo.py”, line 53, in setup
'read_station read_camera access_camera ’
File “/usr/local/lib/python3.6/site-packages/pyatmo.py”, line 74, in init
self._accessToken = resp[‘access_token’]
TypeError: ‘NoneType’ object is not subscriptable

netatmo with app and netatmo api works normal

good luck guys

Yeah I noticed it was working on 0.85, which I noticed now that I said 0.65, my bad.
But the extra amount of bugs on .85 made me roll back to 0.64 :frowning:

0.64?

but what with all the useful staff since 0.80?

1 Like

Sorry. I meant 0.84 and not 0.64… not sure where the 65 came from :frowning:

Anyway, I just fixed it on my side, it was just the case of copying the new netatmo.py libs into my current 0.84 version and voila, its working :slight_smile:

ok great!

and where do i get this file from?

thx

I’ve downloaded the latest stable version from github and then copied the new files over the old ones. I first made a copy though.

This is the commands I’ve used:

cp ./home-assistant-0.85.1/homeassistant/components/binary_sensor/netatmo.py  ~/homeassistant/lib/python3.6/site-packages/homeassistant/components/binary_sensor/netatmo.py
cp ./home-assistant-0.85.1/homeassistant/components/camera/netatmo.py ~/homeassistant/lib/python3.6/site-packages/homeassistant/components/camera/netatmo.py 
cp ./home-assistant-0.85.1/homeassistant/components/climate/netatmo.py ~/homeassistant/lib/python3.6/site-packages/homeassistant/components/climate/netatmo.py
cp ./home-assistant-0.85.1/homeassistant/components/netatmo.py ~/homeassistant/lib/python3.6/site-packages/homeassistant/components/netatmo.py 
cp ./home-assistant-0.85.1/homeassistant/components/sensor/netatmo.py ~/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/netatmo.py

Assuming you’re on the folder where you uncompressed the zip or tar.gz, that you got from github, and the current running instalation is on your homefolder in a folder named homeassistant.

I’m using python virtualenvs btw.

Hope it helps.

good to hear!!

not sure if this will work on a hass.io installation?

where to find the netatmo.py in my hass.io folders?

sorry for that :slight_smile:

thanks

Errr… sorry, can’t help you there, I’m only a rookie with HA, only started to play with it last week :frowning:

But I’m sure someone here might be able to help?

Sorry