mirror of
https://github.com/fmtr/haco.git
synced 2026-10-25 18:40:15 -04:00
Refine README
This commit is contained in:
parent
0244699ec3
commit
c1001fd6f1
1 changed files with 2 additions and 3 deletions
|
|
@ -207,6 +207,8 @@ def tasmota(value: int):
|
|||
|
||||
```
|
||||
|
||||
<img alt="Memory Sensor" height=50% src="assets/memory_sensor.png" width=50%/>
|
||||
|
||||
Let's break this control definition down into the control object, the callback decorator, and the callback itself.
|
||||
|
||||
###### The control object
|
||||
|
|
@ -224,9 +226,6 @@ memory in kilobytes.
|
|||
|
||||
:warning: Tasmota callbacks _must_ have such a `trigger` specified in this decorator.
|
||||
|
||||
<img alt="Memory Sensor" height=50% src="assets/memory_sensor.png" width=50%/>
|
||||
|
||||
|
||||
###### The callback
|
||||
|
||||
Note that the callback function is named `tasmota`. This name is important as it tells `haco` that this callback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue