Switch from marking default_target_temperature_* and default_mode as deprecated and instead just give advice they're going away (#2324)

This commit is contained in:
Michael Davidson 2022-09-24 16:41:37 +10:00 committed by GitHub
parent 9b78b312e2
commit fa7780b365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,9 +180,9 @@ than ``off``. If this option is not configured, you'll need to manually change
the front end (Home Assistant), an ESPHome action, automation, or from within a lambda elsewhere in your the front end (Home Assistant), an ESPHome action, automation, or from within a lambda elsewhere in your
device's configuration. device's configuration.
- **default_target_temperature_low** (*Optional*, *Deprecated*, float): The default low target - **default_target_temperature_low** (*Optional*, float): The default low target
temperature for the control algorithm. This can be dynamically set in the frontend later. temperature for the control algorithm. This can be dynamically set in the frontend later.
- **default_target_temperature_high** (*Optional*, *Deprecated*, float): The default high target - **default_target_temperature_high** (*Optional*, float): The default high target
temperature for the control algorithm. This can be dynamically set in the frontend later. temperature for the control algorithm. This can be dynamically set in the frontend later.
**At least one of** ``default_target_temperature_low`` **and** ``default_target_temperature_high`` **At least one of** ``default_target_temperature_low`` **and** ``default_target_temperature_high``
@ -190,9 +190,9 @@ device's configuration.
.. note:: .. note::
**default_mode**, **default_target_temperature_low**, and **default_target_temperature_high** are **default_mode**, **default_target_temperature_low**, and **default_target_temperature_high** are
deprecated and will be removed in a future release. You should migrate your configuration to using being removed in a future release. In the future you will need to migrate your configuration to using
a :ref:`preset <thermostat-preset>` which allows for more flexibility and customisation a :ref:`preset <thermostat-preset>` which will allow for more flexibility and customisation
Note that ``min_temperature`` and ``max_temperature`` from the base climate component are used to define Note that ``min_temperature`` and ``max_temperature`` from the base climate component are used to define
the range of allowed temperature values in the thermostat component. See :doc:`/components/climate/index`. the range of allowed temperature values in the thermostat component. See :doc:`/components/climate/index`.