netatmo integration not loading when upgrading from 104.1 -> 105, restarted several times and deleted .db file with the same results ... all states are unknown
python venv
configuration.yaml
netatmo:
client_id: !secret netatmo_client_id
client_secret: !secret netatmo_secret
2020-02-05 13:27:42 INFO (MainThread) [homeassistant.setup] Setting up netatmo
2020-02-05 13:27:42 INFO (MainThread) [homeassistant.setup] Setup of domain netatmo took 0.0 seconds.
2020-02-05 13:27:42 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=netatmo>
2020-02-05 13:27:42 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=device_tracker.netatmo_personal_weather_statio, old_state=None, new_state=<state device_tracker.netatmo_personal_weather_statio=not_home; source_type=None, friendly_name=Netatmo-Personal-Weather-Statio @ 2020-02-05T13:27:42.412991-08:00>>
2020-02-05 13:27:46 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_24i, old_state=None, new_state=<state sensor.netatmo_ul_sum_rain_24i=unknown; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_24i @ 2020-02-05T13:27:46.107352-08:00>>
2020-02-05 13:27:46 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_1i, old_state=None, new_state=<state sensor.netatmo_ul_sum_rain_1i=unknown; unit_of_measurement=", friendly_name=netatmo_ul_sum_rain_1i @ 2020-02-05T13:27:46.107703-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_24, old_state=None, new_state=<state sensor.netatmo_ul_sum_rain_24=unavailable; restored=True, supported_features=0, unit_of_measurement=mm @ 2020-02-05T13:29:17.939596-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_1, old_state=None, new_state=<state sensor.netatmo_ul_sum_rain_1=unavailable; restored=True, supported_features=0, unit_of_measurement=mm @ 2020-02-05T13:29:17.939867-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_rain, old_state=None, new_state=<state sensor.netatmo_ul_rain=unavailable; restored=True, supported_features=0, unit_of_measurement=mm @ 2020-02-05T13:29:17.940134-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_battery, old_state=None, new_state=<state sensor.netatmo_shed_battery=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.940399-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_radio, old_state=None, new_state=<state sensor.netatmo_shed_radio=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.940661-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_humidity, old_state=None, new_state=<state sensor.netatmo_shed_humidity=unavailable; restored=True, supported_features=0, device_class=humidity, unit_of_measurement=% @ 2020-02-05T13:29:17.940924-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_temperature, old_state=None, new_state=<state sensor.netatmo_shed_temperature=unavailable; restored=True, supported_features=0, device_class=temperature, unit_of_measurement=掳C @ 2020-02-05T13:29:17.941194-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_battery_percent, old_state=None, new_state=<state sensor.netatmo_ul_battery_percent=unavailable; restored=True, supported_features=0, device_class=battery, unit_of_measurement=% @ 2020-02-05T13:29:17.941480-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_pressure, old_state=None, new_state=<state sensor.netatmo_greenhouse_pressure=unavailable; restored=True, supported_features=0, unit_of_measurement=mbar @ 2020-02-05T13:29:17.941756-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_battery, old_state=None, new_state=<state sensor.netatmo_ul_battery=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.942034-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_temperature, old_state=None, new_state=<state sensor.netatmo_greenhouse_temperature=unavailable; restored=True, supported_features=0, device_class=temperature, unit_of_measurement=掳C @ 2020-02-05T13:29:17.942301-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_wifi, old_state=None, new_state=<state sensor.netatmo_greenhouse_wifi=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.942584-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_radio, old_state=None, new_state=<state sensor.netatmo_ul_radio=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.942847-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_humidity, old_state=None, new_state=<state sensor.netatmo_greenhouse_humidity=unavailable; restored=True, supported_features=0, device_class=humidity, unit_of_measurement=% @ 2020-02-05T13:29:17.943112-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_battery_percent, old_state=None, new_state=<state sensor.netatmo_shed_battery_percent=unavailable; restored=True, supported_features=0, device_class=battery, unit_of_measurement=% @ 2020-02-05T13:29:17.943399-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_noise, old_state=None, new_state=<state sensor.netatmo_greenhouse_noise=unavailable; restored=True, supported_features=0, unit_of_measurement=dB @ 2020-02-05T13:29:17.943669-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_co2, old_state=None, new_state=<state sensor.netatmo_greenhouse_co2=unavailable; restored=True, supported_features=0, unit_of_measurement=ppm @ 2020-02-05T13:29:17.943937-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_max_temp, old_state=None, new_state=<state sensor.netatmo_greenhouse_max_temp=unavailable; restored=True, supported_features=0, unit_of_measurement=掳C @ 2020-02-05T13:29:17.953642-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_max_temp, old_state=None, new_state=<state sensor.netatmo_shed_max_temp=unavailable; restored=True, supported_features=0, unit_of_measurement=掳C @ 2020-02-05T13:29:17.953932-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_min_temp, old_state=None, new_state=<state sensor.netatmo_greenhouse_min_temp=unavailable; restored=True, supported_features=0, unit_of_measurement=掳C @ 2020-02-05T13:29:17.954212-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_min_temp, old_state=None, new_state=<state sensor.netatmo_shed_min_temp=unavailable; restored=True, supported_features=0, unit_of_measurement=掳C @ 2020-02-05T13:29:17.954486-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_shed_reachability, old_state=None, new_state=<state sensor.netatmo_shed_reachability=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.954768-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_greenhouse_reachability, old_state=None, new_state=<state sensor.netatmo_greenhouse_reachability=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.954997-08:00>>
2020-02-05 13:29:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_reachability, old_state=None, new_state=<state sensor.netatmo_ul_reachability=unavailable; restored=True, supported_features=0 @ 2020-02-05T13:29:17.955256-08:00>>
2020-02-05 13:29:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.netatmo_ul_sum_rain_24i, old_state=<state sensor.netatmo_ul_sum_rain_24i=unknown; unit_of_measurement="
Hey there @cgtobi, mind taking a look at this issue as its been labeled with a integration (netatmo
) you are listed as a codeowner for? Thanks!
Did you go to config -> integrations and set up Netatmo?
have you read the breaking change in 0.105 release note regarding netatmo?
I'm getting the same issue also, are any of your Netatmo devices in a group at all?
Netatmo is not showing up in integrations:
is my config wrong here?
netatmo:
client_id: !secret netatmo_id
client_secret: !secret netatmo_secret
I have the same problem I cannot see climate component with netatmo i change too client ID an client secret in configuration.yaml
Same problem in 0.105.1
Did you run the config flow?
Configuration -> Integrations-> +
Configuration -> Integrations-> +
Thanks, after clicking the + in the corner, then clicking the +, logging in the popup and giving permissions it's now working for me. :)
That鈥檚 how it is supposed to work. 馃槈
I have same problem. I tried remove all netatmo entities and per Configuration -> Integrations -> Add Netatmo. I use HA per Nabu Casa Cloud, so in select i give "Pick Authentication Method - Home Assistant Cloud" , after is opened URL "https://auth.netatmo.com/en-us/access...", and when i give "Yes, i accept" ..nothing happens
Please don鈥檛 use the cloud method for now. Right now only the config yaml method is fully supported.
Hi,
same issue, some-one have a solution?
It麓s working. You have to per Setting - Integration - Add Netatmo and use authorize from configuration.yaml. Of course in local network. Not with Nabu.casa cloud
Have a look here:
https://community.home-assistant.io/t/netatmo-in-ha-0-105/169377/11
Did you run the config flow?
Configuration -> Integrations-> +
Thanks!!
please add this to the netatmo integration page. I spent almost a day to understand why it didn't work!
https://github.com/home-assistant/home-assistant/pull/31538
With next bugfix release, you can use the free oauth service from nabucasa if you don't have cameras
Please don鈥檛 use the cloud method for now. Right now only the config yaml method is fully supported.
I have this configuration:
netatmo:
client_id: !secret netatmo_client_id
client_secret: !secret netatmo_client_secret
discovery: false
And when I try to set the OAuth Netatmo integration from de UI (Configuration > Integrations > + > Netatmo) it opens the webpage in order to authorize the scopes.
@cgtobi How I have to configure the integration using the "config yaml method"? I can't see any option like "authorize from configuration.yaml".
Thanks
I've managed to show the authorize using configuration.yaml by deletting discovery: false
(it's deprecated now) and doing a HA restart. Then the option appeared.
If you have invalid Netatmo configuration in your configuration.yaml, you will not be able to set up the integration. We have added a small deprecation period to still allow this, but we will remove this in the future.
Most helpful comment
Did you run the config flow?
Configuration -> Integrations-> +