cutting down resources is always on my mind
so just to be sure:
when entities on a weather integration (eg Buienradar which provides hundreds) are disabled they are counted in the integration panel, but are in fact not loaded, and dont Not weigh on the resources?
in the current (deprecated, but still working) phase, how can we stop the weather integrations forecast attribute from weighing on the system resources as is foreseen with this change, but will only be effective in 6 months?
Id love to see the efficiency change sooner than later.
we stop the polling, use the new forecast service on the forecast and update the weather integration with an automation?
if I read
While the way to access this data has changed and may impact your automations, you will not experience any loss in functionality. Even with this change, rest assured that the forecast cards in your dashboard will still work, they will now just use the service to retrieve the forecast data asynchronously instead of reading it from the state attribute.
is that already functioning as is, so without any user action writing automations using the new service etc etc.? Only asking because they are still thereâŚ
given the fact these forecast will no longer be in the states machine, how will we be able to test our templates in the dev tools?
would the release notes example {{ forecast.forecast[0].precipitation > 0 }}
output correctly
sorry if this seems beyond silly, I finally got the chance to test run 2023.9 so still trying to adjust, and obviously didnt test my question above just yet, still in the preparational phaseâŚ
edit:
well I did and got this working after adding the HA start event for initial power. Update entity does not work on any of these entities btw? because that was my first try when they werenât populated upon reload templates, and they remain unknown.
And no, I cant test this template in dev tools, so that is a bit of an issue when writing these templates
template:
- trigger:
- platform: state
entity_id: sensor.date
# - platform: homeassistant
# event: start
action:
- service: weather.get_forecast
target:
entity_id: weather.buienradar
data:
type: daily
response_variable: buienradar_forecast
sensor:
- unique_id: buienradar_temperature_forecast
name: Temperature forecast
state: >
{{buienradar_forecast.forecast[0].temperature}}
- unique_id: buienradar_precipitation_forecast
name: Precipitation forecast
state: >
{{buienradar_forecast.forecast[0].precipitation}}
binary_sensor:
- unique_id: buienradar_precipitation_forecast_binary
name: Is it going to rain?
state: >
{{buienradar_forecast.forecast[0].precipitation > 0}}