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
847 stars 128 forks source link

Don't name entity #1350

Closed jamesonuk closed 6 months ago

jamesonuk commented 6 months ago

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 property

Related 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