From 54a090c6e8ebc8f2834936cf5c42d42ac43a44a3 Mon Sep 17 00:00:00 2001 From: Edward Brown Date: Fri, 1 Sep 2023 17:24:16 +0100 Subject: [PATCH] Make links absolute --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bef14e6..4fed767 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ def ha(value) -> Tasmota[str, 'tasmota.cmd("restart 1")']: A fully functional restart button will now appear associated with the device in Home Assistant: -Restart Button +Restart Button Or, more practically, a cookbook pull-down menu, for a Tuya air fryer, might look like this: @@ -41,7 +41,7 @@ def tasmota(value: int): return OPTIONS[value] ``` -Air Fryer Cookbook +Air Fryer Cookbook ## Do I Need This? Can't I Do this with Native Tasmota? @@ -139,7 +139,7 @@ Device "Tasmota Test Device" successfully configured. Hostname: tasmota-test MAC In Home Assistant, find the device in [the Devices section](https://my.home-assistant.io/redirect/devices/). You should now see a test Select (pulldown) control called "Greeter". -WebLog Select +WebLog Select Selecting the greetings from the pulldown, you should see them appear in your Tasmota Berry console, e.g. @@ -207,7 +207,7 @@ def tasmota(value: int): ``` -Memory Sensor +Memory Sensor Let's break this control definition down into the control object, the callback decorator, and the callback itself. @@ -320,7 +320,7 @@ as their corresponding number values (`WebLog 1`, `WebLog2`) used by Tasmota. The `tasmota` callback, naturally enough, does the exact opposite, returning the string names to Home Assistant whenever the `WebLog` command is used on the Tasmota side. -WebLog Select +WebLog Select #### Debugging Your Configuration @@ -339,7 +339,7 @@ to include the name of the capability. So if you want to add callbacks around se a `Climate` control, you'd need to call your callbacks `target_humidity_tasmota` and `target_humidity_ha`, etc. A full schema of these names will appear in subsequent documentation. But you can find example implementations for most -controls in the [built-in `development` config](../../blob/release/haco/configs/development.py). +controls in the [built-in `development` config](https://github.com/fmtr/haco/tree/release/haco/configs/development.py). Anway, if you get the names wrong, you'll see an error like this in your Add-On logs: @@ -350,5 +350,5 @@ ValueError: Callback function name "set_mode_ha" is not valid for control "Clima #### Additional Resources Beyond these examples, when creating your own configuration, you'll probably find -the [built-in configurations](../../tree/release/haco/configs) (especially -the [`development` config](../../blob/release/haco/configs/development.py)) useful. +the [built-in configurations](https://github.com/fmtr/haco/tree/release/haco/configs) (especially +the [`development` config](https://github.com/fmtr/haco/tree/release/haco/configs/development.py)) useful.