Refine README

This commit is contained in:
Edward Brown 2023-09-01 16:35:45 +01:00
parent 0244699ec3
commit c1001fd6f1

View file

@ -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