Skip to content

Commit c8d38d3

Browse files
authored
Add blog post for TemperatureConverter.convert_interval deprecation (#2854)
1 parent e36ba8e commit c8d38d3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: Davide Perteghella
3+
authorURL: https://github.com/krahabb
4+
title: "TemperatureConverter.convert_interval deprecation"
5+
---
6+
7+
The method `convert_interval` in `TemperatureConverter` (allowing conversions between °F and °C intervals) has been deprecated in favor of `TemperatureDeltaConverter.convert`.
8+
The new converter and device class are now the preferred way to deal with temperature intervals.
9+
10+
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).

0 commit comments

Comments
 (0)