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.
Motivation:
Not sue if this is the best way to do it but it resolves https://github.com/KartoffelToby/better_thermostat/issues/1332
Changes:
I have added
_attr_name = None
as per https://developers.home-assistant.io/docs/core/entity/#has_entity_name-true-mandatory-for-new-integrations and then just replace the inbuilt name property with a custom device_name propertyRelated issue (check one):
Checklist (check one):
Test-Hardware list (for code changes)
HA Version: 2024.5.1 Zigbee2MQTT Version: 1.37.0 TRV Hardware: Sonoff TRVZB
New device mappings
climate.py