Skip to content

Commit f08a096

Browse files
authored
Update Buttons-and-Switches.md
1 parent 5bbf376 commit f08a096

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Buttons-and-Switches.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,15 @@ Command [`SetOption11`](Commands#setoption11) allows for swapping the functional
234234

235235
These changes result in the following:
236236

237-
![Action matrix](../_media/button-matrix.png ":size=300")
237+
![Action matrix](_media/button-matrix.png ":size=300")
238238

239239
#### Example
240240

241241
You can control a ceiling fan from a Sonoff Touch:
242242
If your standard topic of Sonoff Touch is `light` and the ceiling fan topic is `ceilingfan` issue these commands on the Sonoff Touch to activate the double press feature.
243-
```
244-
buttontopic ceilingfan
245-
setoption11 1
243+
```console
244+
ButtonTopic ceilingfan
245+
SetOption11 1
246246
```
247247
All of the above is easier accomplished using [Rules](Rules)!
248248

0 commit comments

Comments
 (0)