Limych / ha-gismeteo

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

не показывает погоду #9

Closed schel4ok closed 3 years ago

schel4ok commented 3 years ago

Configuration


homeassistant:
  name: Home Assistant
  latitude: 55.949571
  longitude: 37.924716
  elevation: 0
  unit_system: metric
  time_zone: Europe/Moscow

default_config:

tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

weather:
  - platform: gismeteo

Describe the bug Я установил пакет hass.io с центра пакетов Synology. Потом в /hass.io/homeassistant/custom_components/gismeteo скопировал все файлы из \ha-gismeteo-master\custom_components\gismeteo

Но в списке интеграций gismeteo не появилась и добавить панель погоды не могу. ha

Debug log в разделе /config/logs я вижу такие ошибки

Logger: custom_components.gismeteo
Source: custom_components/gismeteo/__init__.py:165
Integration: Gismeteo (documentation)
First occurred: 20:59:05 (1 occurrences)
Last logged: 20:59:05
Can't detect nearest city! 

Logger: homeassistant.loader
Source: loader.py:463
First occurred: 20:59:00 (1 occurrences)
Last logged: 20:59:00
You are using a custom integration for gismeteo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 
Limych commented 3 years ago

В списке интеграциий компонента и не должно быть, т.к. у него нет графического интерфейса настройки.

Похоже, почему-то компонент не может связаться с сервером Гисметео.

Попробуйте включить отладку, добавив в конфиги следующий код:

logger:
  logs:
    custom_components.gismeteo: debug
schel4ok commented 3 years ago

добавил. а что должно поменяться?

Limych commented 3 years ago

Перезапустите HA. В логах должно появиться много дополнительной информации. Сюда их процитируйте, пожалуйста.

no-response[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.