KartoffelToby / better_thermostat

This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
https://better-thermostat.org
GNU Affero General Public License v3.0
763 stars 122 forks source link

Replace deprecated weather forecast with new service call #1338

Closed dasadi closed 5 months ago

dasadi commented 5 months ago

Motivation:

In HA Update 2024.04 the old way of retrieving the forecast data got removed and only the new get_forecasts service remains. This PR utilizes the new service to retrieve the forecast data. The service is supported since 2023.12.

Changes:

Changes the way retrieving forecast data: Instead of entity attribute use weather.get_forecasts service

Related issue (check one):

Checklist (check one):

Test-Hardware list (for code changes)

HA Version: 2024.2.1 and 2024.4.1 Zigbee2MQTT Version: - devcontainer TRV Hardware: simulated - devcontainer

New device mappings

KartoffelToby commented 5 months ago

@dasadi First thanks for your PR!

I would ask you if you can take a look @ #1344

I sounds Like there are different services 🙈