Skip to content

Commit 22d23d7

Browse files
committed
lint corrections
1 parent 989ece6 commit 22d23d7

File tree

1 file changed

+60
-59
lines changed

1 file changed

+60
-59
lines changed

components/optolink.rst

Lines changed: 60 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Using an adapter cable you can read parameters of the heating component and also
1818
Once configured, you can add further :doc:`Sensors</components/sensor/index>`, :doc:`Binary Sensors</components/binary_sensor/index>` and :doc:`Text Sensors</components/text_sensor/index>` to monitor parameters of the heating component. Moreover, you can add :doc:`Switches</components/switch/index>`, :doc:`Numbers</components/number/index>` and :doc:`Selects</components/select/index>` to control the heating component.
1919

2020
.. note::
21-
The ``optolink`` platform is based on the great work of many people in the `OpenV project <https://github.com/openv/openv/wiki>`__ and the fantastic Arduino Library `VitoWiFi <https://github.com/bertmelis/VitoWiFi>`__ of Bert Melis.
21+
22+
The ``optolink`` platform is based on the great work of many people in the `OpenV project <https://github.com/openv/openv/wiki>`__ and the fantastic Arduino Library `VitoWiFi <https://github.com/bertmelis/VitoWiFi>`__ of Bert Melis.
2223

2324
Overview
2425
--------
@@ -32,11 +33,11 @@ Platform configuration
3233
***********************
3334
.. code-block:: yaml
3435
35-
# Example configuration entry
36-
optolink:
37-
protocol: P300
38-
device_info: Device Info
39-
state: Component state
36+
# Example configuration entry
37+
optolink:
38+
protocol: P300
39+
device_info: Device Info
40+
state: Component state
4041
4142
Configuration variables:
4243
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -51,15 +52,15 @@ Sensors
5152
*******
5253
.. code-block:: yaml
5354
54-
# Example configuration entry
55-
sensor:
56-
- platform: optolink
57-
name: Boiler Temperature
58-
address: 0xA309
59-
bytes: 2
60-
div_ratio: 100
61-
unit_of_measurement: °C
62-
device_class: temperature
55+
# Example configuration entry
56+
sensor:
57+
- platform: optolink
58+
name: Boiler Temperature
59+
address: 0xA309
60+
bytes: 2
61+
div_ratio: 100
62+
unit_of_measurement: °C
63+
device_class: temperature
6364
6465
Configuration variables:
6566
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -72,11 +73,11 @@ Binary Sensors
7273
**************
7374
.. code-block:: yaml
7475
75-
# Example configuration entry
76-
binary_sensor:
77-
- platform: optolink
78-
name: Disturbance
79-
address: 0x0A82
76+
# Example configuration entry
77+
binary_sensor:
78+
- platform: optolink
79+
name: Disturbance
80+
address: 0x0A82
8081
8182
Configuration variables:
8283
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -87,13 +88,13 @@ Text Sensors
8788
************
8889
.. code-block:: yaml
8990
90-
# Example configuration entry
91-
text_sensor:
92-
- platform: optolink
93-
name: Error history 1
94-
address: 0x7590
95-
bytes: 9
96-
raw: true
91+
# Example configuration entry
92+
text_sensor:
93+
- platform: optolink
94+
name: Error history 1
95+
address: 0x7590
96+
bytes: 9
97+
raw: true
9798
9899
Configuration variables:
99100
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -105,20 +106,20 @@ Configuration variables:
105106
Numbers
106107
*******
107108
.. code-block:: yaml
108-
109-
# Example configuration entry
110-
number:
111-
- platform: optolink
112-
name: Room Temperature Setpoint
113-
unit_of_measurement: °C
114-
address: 0x2306
115-
bytes: 1
116-
min_value: 3
117-
max_value: 37
118-
step: 1
119-
mode: box
120-
icon: "mdi:home-thermometer"
121-
device_class: temperature
109+
110+
# Example configuration entry
111+
number:
112+
- platform: optolink
113+
name: Room Temperature Setpoint
114+
unit_of_measurement: °C
115+
address: 0x2306
116+
bytes: 1
117+
min_value: 3
118+
max_value: 37
119+
step: 1
120+
mode: box
121+
icon: "mdi:home-thermometer"
122+
device_class: temperature
122123
123124
Configuration variables:
124125
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -133,13 +134,13 @@ Configuration variables:
133134
Switches
134135
********
135136
.. code-block:: yaml
136-
137-
# Example configuration entry
138-
switch:
139-
- platform: optolink
140-
name: Economy mode
141-
address: 0x2302
142-
icon: mdi:sprout-outline
137+
138+
# Example configuration entry
139+
switch:
140+
- platform: optolink
141+
name: Economy mode
142+
address: 0x2302
143+
icon: mdi:sprout-outline
143144
144145
Configuration variables:
145146
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -149,17 +150,17 @@ Configuration variables:
149150
Selects
150151
*******
151152
.. code-block:: yaml
152-
153-
# Example configuration entry
154-
select:
155-
- platform: optolink
156-
name: Operation mode
157-
address: 0x2323
158-
bytes: 1
159-
map:
160-
- "0 -> Off"
161-
- "1 -> Only hot water"
162-
- "2 -> Heating and hot water"
153+
154+
# Example configuration entry
155+
select:
156+
- platform: optolink
157+
name: Operation mode
158+
address: 0x2323
159+
bytes: 1
160+
map:
161+
- "0 -> Off"
162+
- "1 -> Only hot water"
163+
- "2 -> Heating and hot water"
163164
164165
Configuration variables:
165166
~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)