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.
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):
[x] fixes #1331
[ ] there is no related issue ticket
Checklist (check one):
[ ] I did not change any code (e.g. documentation changes)
[x] The code change is tested and works locally.
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
[ ] I avoided any changes to other device mappings
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
climate.py