Update climate code block types (#1285)

This commit is contained in:
Jesse Hills 2021-07-01 10:16:21 +12:00 committed by GitHub
parent 2cf8b8ced6
commit 4216da3554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ advanced stuff.
- Attributes: All climate devices have read-only attributes to get the current state of the device.
.. code-block:: yaml
.. code-block:: cpp
// Current mode, type: ClimateMode (enum)
id(my_climate).mode
@ -125,7 +125,7 @@ advanced stuff.
- ``.make_call``: Control the climate device
.. code-block:: yaml
.. code-block:: cpp
auto call = id(my_climate).make_call();
call.set_mode("OFF");