Skip to content

Commit 0a48ee2

Browse files
committed
fix more types that were missing code blocking
1 parent bf70baa commit 0a48ee2

18 files changed

+31
-31
lines changed

docs/config/coil_overwrites.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ your config. (If you don't include them, the default will be used).
2525

2626
### hold_power:
2727

28-
Single value, type: float(0,1).
28+
Single value, type: `float(0,1)`.
2929

3030
Overwrite the `hold_power` of the coil for this device. See
3131
`default_hold_power` in [coils:](coils.md) for
@@ -41,7 +41,7 @@ Overwrite the `pulse_ms` of the coil for this device. See
4141

4242
### pulse_power:
4343

44-
Single value, type: float(0,1).
44+
Single value, type: `float(0,1)`.
4545

4646
Overwrite the `pulse_power` of the coil for this device. See
4747
`default_pulse_power` in [coils:](coils.md) for

docs/config/coils.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ your log file.
9191

9292
### default_hold_power:
9393

94-
Single value, type: float(0,1). Defaults to empty.
94+
Single value, type: `float(0,1)`. Defaults to empty.
9595

9696
This setting lets you control how much power is sent to the coil when
9797
it's "held" in the on position. This is an float value from 0-1 (i.e.
@@ -123,7 +123,7 @@ weak, but set low for safety purposes.
123123

124124
### default_pulse_power:
125125

126-
Single value, type: float(0,1). Defaults to empty.
126+
Single value, type: `float(0,1)`. Defaults to empty.
127127

128128
The power factor which controls how much power is applied during the
129129
initial pulse phase of the coil's activation. (Note that not all
@@ -176,7 +176,7 @@ Single value, type: `time string (secs)`
176176

177177
### max_hold_power:
178178

179-
Single value, type: float(0,1). Defaults to empty.
179+
Single value, type: `float(0,1)`. Defaults to empty.
180180

181181
This controlls the maximum allowed hold power for this this coil. While
182182
*default_hold_power* sets the default for all enable calls on the coil
@@ -193,7 +193,7 @@ error if any code tries to pulse the coil for more than `max_pulse_ms`.
193193

194194
### max_pulse_power:
195195

196-
Single value, type: float(0,1). Default: `1.0`
196+
Single value, type: `float(0,1)`. Default: `1.0`
197197

198198
Set the maxium pulse power. If pulse is called on the coil without any
199199
parameters *default_pulse_power* is used.
@@ -212,7 +212,7 @@ details.
212212

213213
### platform_settings:
214214

215-
Single value, type: dict. Defaults to empty.
215+
Single value, type: `dict`. Defaults to empty.
216216

217217
Dict of platform specific settings. Consult your platform documentation
218218
for those settings.

docs/config/digital_outputs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ In case you want to overwrite the default platform (as defined in
8181

8282
### platform_settings:
8383

84-
Single value, type: dict. Defaults to empty.
84+
Single value, type: `dict`. Defaults to empty.
8585

8686
Dict of platform specific settings. Consult your platform documentation
8787
for those settings.

docs/config/flasher_player.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ color `AAAAAA`.
4242

4343
### ms:
4444

45-
Single value, type: ms_or_token. Default: `100ms`
45+
Single value, type: `ms_or_token`. Default: `100ms`
4646

4747
Configures how long should that flasher be enabled.
4848

docs/config/hardware_sound_player.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ be different per sound.
5555

5656
### platform_options:
5757

58-
Single value, type: dict. Defaults to empty.
58+
Single value, type: `dict`. Defaults to empty.
5959

6060
--8<-- "todo.md"
6161

docs/config/hardware_sound_systems.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Overwrite the default platform.
3030

3131
### platform_settings:
3232

33-
Single value, type: dict. Defaults to empty.
33+
Single value, type: `dict`. Defaults to empty.
3434

3535
--8<-- "todo.md"
3636

docs/config/light_player.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ to underlying shows as if the light has never been used in this show.
7676

7777
### fade:
7878

79-
Single value, type: ms_or_token. Defaults to empty.
79+
Single value, type: `ms_or_token`. Defaults to empty.
8080

8181
Time to fade this light in ms. Use this to achieve smooth transitions
8282
between colors.
8383

8484
### priority:
8585

86-
Single value, type: int_or_token. Default: `0`
86+
Single value, type: `int_or_token`. Default: `0`
8787

8888
Relative priority of this entry in the light stack.
8989

docs/config/lights.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ config. (If you don't include them, the default will be used).
113113

114114
### channels:
115115

116-
Single value, type: dict. Defaults to empty.
116+
Single value, type: `dict`. Defaults to empty.
117117

118118
Instead of a single `number` address for a light, you can enter channels
119119
corresponding to the multi-color channels of an RGB or RGBW LED. Each
@@ -219,7 +219,7 @@ lights:
219219

220220
### platform_settings:
221221

222-
Single value, type: dict. Defaults to empty.
222+
Single value, type: `dict`. Defaults to empty.
223223

224224
Platform-specific light settings. Consult your platform documentation
225225
for details.

docs/config/segment_display_player.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ information on specifying colors in config files.
6060

6161
### expire:
6262

63-
Single value, type: ms_or_token. Defaults to empty.
63+
Single value, type: `ms_or_token`. Defaults to empty.
6464

6565
Only used with `action` `add`. Text will be removed after `expire` ms.
6666

@@ -101,7 +101,7 @@ used if `replace` is used.
101101

102102
### priority:
103103

104-
Single value, type: int_or_token. Default: `0`
104+
Single value, type: `int_or_token`. Default: `0`
105105

106106
Priority of this text. The segment display will maintain a stack and
107107
show the text on top (highest priority). Only relevant if [segment_displays](segment_displays.md) `update_method` is `stack`, not being

docs/config/segment_displays.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ colors than the `size` of your display the other digitis will have `white` as de
4646

4747
### default_transition_update_hz:
4848

49-
Single value, type: float_or_token. Default: `30`
49+
Single value, type: `float_or_token`. Default: `30`
5050

5151
The speed (steps per second) at which text transition effects will be
5252
updated in the display.
@@ -80,7 +80,7 @@ This can be used to overwrite the platform which is defined in the
8080

8181
### platform_settings:
8282

83-
Single value, type: dict. Defaults to empty.
83+
Single value, type: `dict`. Defaults to empty.
8484

8585
Platform specific settings. See your
8686
[segment platform documentation](../hardware/segment_display_platforms.md).

0 commit comments

Comments
 (0)