core: netatmo not loading with 0.105.0

The problem

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

Environment

python venv

  • Home Assistant release with the issue: 105
  • Last working Home Assistant release (if known): 104.1
  • Operating environment (Hass.io/Docker/Windows/etc.): ha core
  • Integration causing this issue: netatmo
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/netatmo/

Problem-relevant configuration.yaml

netatmo:
  client_id: !secret netatmo_client_id
  client_secret: !secret netatmo_secret 

Traceback/Error logs

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="

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 5
  • Comments: 20 (7 by maintainers)

Most upvoted comments

Did you run the config flow?

Configuration -> Integrations-> +

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 Netatmo

Please don’t use the cloud method for now. Right now only the config yaml method is fully supported.