Limych / ha-gismeteo

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

Gismeteo Map Icons 360 degrees out of position. #127

Closed davep1328 closed 2 years ago

davep1328 commented 2 years ago

Environment

Describe the bug

The Icons placed on the map by Gismeteo are in the right place bug wrapped around the globe from everything else, so the map as to be shown twice. Had to explain, see screen shot in additional info.

Configuration.yaml


Add your configs here if any.

Steps to Reproduce

Expected behavior Icons from Gismeteo and other map locations in the same area.

Debug log

2022-06-21 22:25:56 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'counter', 'ezviz', 'automation', 'system_health', 'zone', 'trace', 'input_datetime', 'logbook', 'timer', 'flux_led', 'my', 'default_config', 'google', 'media_source', 'history', 'weather', 'map', 'mobile_app', 'persistent_notification', 'lutron_caseta', 'plex', 'sensor', 'energy', 'scene', 'application_credentials', 'input_text', 'nws', 'input_boolean', 'cast', 'input_select', 'tag', 'input_number', 'samsungtv', 'sun', 'alexa_media', 'input_button', 'notify', 'tts', 'ffmpeg', 'hacs', 'unifi', 'blueprint', 'hubitat', 'script', 'group', 'gismeteo'}
2022-06-21 22:25:56 INFO (MainThread) [homeassistant.setup] Setting up gismeteo
2022-06-21 22:25:56 INFO (MainThread) [custom_components.gismeteo] 
-------------------------------------------------------------------
Gismeteo
Version: 2.3.4
This is a custom integration!
If you have ANY issues with this you need to open an issue here:
https://github.com/Limych/ha-gismeteo/issues
-------------------------------------------------------------------

2022-06-21 22:25:56 INFO (MainThread) [homeassistant.setup] Setup of domain gismeteo took 0.0 seconds
2022-06-21 22:25:56 DEBUG (MainThread) [custom_components.gismeteo.api] Place coordinates: 47.87151190828796, -86.25637524127962
2022-06-21 22:25:56 DEBUG (MainThread) [custom_components.gismeteo.api] Forecast mode: hourly
2022-06-21 22:25:56 DEBUG (MainThread) [custom_components.gismeteo.cache] Initializing cache
2022-06-21 22:25:56 DEBUG (MainThread) [custom_components.gismeteo.api] Requesting URL https://services.gismeteo.ru/inform-service/inf_chrome/cities/?lat=47.87151190828796&lng=-86.25637524127962&count=1&lang=en
2022-06-21 22:25:58 DEBUG (MainThread) [custom_components.gismeteo.api] Data retrieved from https://services.gismeteo.ru/inform-service/inf_chrome/cities/?lat=47.87151190828796&lng=-86.25637524127962&count=1&lang=en, status: 200
2022-06-21 22:25:58 DEBUG (MainThread) [custom_components.gismeteo.cache] Store cache file /config/.storage/location_47.87151190828796_-86.25637524127962.xml
2022-06-21 22:25:58 DEBUG (MainThread) [custom_components.gismeteo.api] Requesting URL https://services.gismeteo.ru/inform-service/inf_chrome/forecast/?city=8444&lang=en
2022-06-21 22:25:58 DEBUG (MainThread) [custom_components.gismeteo.api] Cached response used
2022-06-21 22:25:58 DEBUG (MainThread) [custom_components.gismeteo.cache] Read cache file /config/.storage/forecast_8444.xml
2022-06-21 22:25:58 DEBUG (MainThread) [custom_components.gismeteo] Finished fetching gismeteo data in 0.001 seconds (success: True)
2022-06-21 22:25:58 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.gismeteo
2022-06-21 22:25:58 INFO (MainThread) [homeassistant.components.weather] Setting up weather.gismeteo
2022-06-21 22:25:58 WARNING (MainThread) [homeassistant.helpers.entity] Temperature sensor sensor.home_temperature (<class 'custom_components.gismeteo.sensor.GismeteoSensor'>) does not inherit SensorEntity, this will be unsupported in Home Assistant Core 2022.7.Please report it to the custom component author.
2022-06-21 22:25:58 WARNING (MainThread) [homeassistant.helpers.entity] Temperature sensor sensor.home_temperature_feels_like (<class 'custom_components.gismeteo.sensor.GismeteoSensor'>) does not inherit SensorEntity, this will be unsupported in Home Assistant Core 2022.7.Please report it to the custom component author.
2022-06-21 22:25:58 WARNING (MainThread) [homeassistant.helpers.entity] Temperature sensor sensor.home_water_temperature (<class 'custom_components.gismeteo.sensor.GismeteoSensor'>) does not inherit SensorEntity, this will be unsupported in Home Assistant Core 2022.7.Please report it to the custom component author.

Add your logs here.

Additional context image

Limych commented 2 years ago

Thanks :heart: