Limych / ha-gismeteo

Gismeteo Weather Provider for Home Assistant
Other
117 stars 21 forks source link

Setup failed for Gismetio #91

Closed gdraugr closed 2 years ago

gdraugr commented 2 years ago

Environment

Configuration.yaml

weather:
  - platform: gismeteo
    mode: daily

Steps to Reproduce

Expected behavior

Debug log

Logger: homeassistant.setup
Source: setup.py:153
First occurred: 07:15:56 (1 occurrences)
Last logged: 07:15:56

Setup failed for gismeteo: Unable to import component: cannot import name 'HTTP_OK' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

Additional context

there was no error before the upgrade to the version core-2021.12.0

gdraugr commented 2 years ago

Вот это помогает решить проблему https://github.com/Limych/ha-gismeteo/issues/90#issuecomment-991896750

Limych commented 2 years ago

Fixed in #87