mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-11-09 19:09:42 +00:00
Add blog post for TemperatureConverter.convert_interval deprecation (#2854)
This commit is contained in:
10
blog/2025-11-04-convert-interval-deprecation.md
Normal file
10
blog/2025-11-04-convert-interval-deprecation.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
author: Davide Perteghella
|
||||
authorURL: https://github.com/krahabb
|
||||
title: "TemperatureConverter.convert_interval deprecation"
|
||||
---
|
||||
|
||||
The method `convert_interval` in `TemperatureConverter` (allowing conversions between °F and °C intervals) has been deprecated in favor of `TemperatureDeltaConverter.convert`.
|
||||
The new converter and device class are now the preferred way to deal with temperature intervals.
|
||||
|
||||
For details, see [core PR 155689](https://github.com/home-assistant/core/pull/155689) and [core PR 147358](https://github.com/home-assistant/core/pull/147358).
|
||||
Reference in New Issue
Block a user