I have HA with hassio and my map was being mistakenly recognized in Amsterdam. I tried several ways to define for Brazil through the settings and the map was identified correctly. However, I tried to specify all the settings so that the Weather forecast appears as an image, but it continues to “pull” data erroneously, probably still the data of the city of Amsterdam by mistake (for example, temperature totally low in relation to Brazil - summer). Where would it be possible to reverse this? something was recorded in the test with the template by Paulus and Anne Therese in the Home Assitant community.
In developer tools > model, the templates include:
{% if is_state(“device_tracker.paulus”, “home”) and
is_state(“device_tracker.anne_therese”, “home”) -%}
You are both home, you silly
{%- else -%}
Anne Therese is at {{ states(“device_tracker.anne_therese”) }}
Paulus is at {{ states(“device_tracker.paulus”) }}
{%- endif %}
CHANGE TO >> (“device_tracker.leandro”, “home”) AND (“device_tracker.leandro.vianna”, “home”)
In condition:
zoning
Atributos de estado (YAML, opcional)
1 hidden: true
2 latitude: 52.3731339
3 longitude: 4.8903147
4 radius: 100
5 friendly_name: Casa
6 icon: ‘mdi:home’
CHANGE TO my location -29.688188 and -53.815202
weather.casa cloudy temperature: 6
humidity: 99
pressure: 1036.4
wind_bearing: 48.4
wind_speed: 3.6
attribution: Weather forecast from met.no, delivered by the Norwegian Meteorological Institute. (não consegui mudar)
forecast: [object Object],[object Object],[object Object],[object Object],[object Object]
friendly_name: Casa
weather.openweathermap rainy temperature: 6.6
humidity: 100
pressure: 1036
wind_bearing: 240
wind_speed: 1.8
attribution: Data provided by OpenWeatherMap
forecast: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
friendly_name: OpenWeatherMap
configuration.yaml
zone:
-
name: Home
latitude: -29.688188
longitude: -53.815202
radius: 250
icon: mdi:Home -
name: school
latitude: -29.688188
longitude: -53.815202 -
name: home
latitude: -29.688188
longitude: -53.815202
radius: 100
icon: mdi:home
device_tracker:
- platform: owntrack
host: https://…u.nabu.casa/
username: leandro
password: mypsw
new_device_defaults:
track_new_devices: true
hide_if_away: false
weather:
- platform: openweathermap
api_key: 1151…