Skip to content

Commit c3d0dfb

Browse files
authored
adjust images paths
1 parent b59f7e1 commit c3d0dfb

File tree

5 files changed

+18
-19
lines changed

5 files changed

+18
-19
lines changed

.github/workflows/mdocs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
name: "Deploy documentation"
1515
runs-on: ubuntu-latest
1616
steps:
17-
1817
- name: "Checkout"
1918
uses: actions/checkout@v4
2019

docs/auto_configure.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Localtuya can disocver you device entities if cloud is enable because the featur
44
By known the `category` we use that to get all the possible entities from stored data.<br> Data stored in `/localtuya/core/tuya_devices` (1)
55
{.annotate}
66

7-
1. Files named with entity type <br> <br> ![](/images/dev/tuya_devices_dir.png)
7+
1. Files named with entity type <br> <br> ![](images/dev/tuya_devices_dir.png)
88

99
??? info "DPCodes data"
1010
All known `Codes` are stored in `base.py` in `DPCode Class`. <br>
@@ -19,8 +19,8 @@ By known the `category` we use that to get all the possible entities from stored
1919

2020
Inside downloaded `txt file`, in `cloud_data object` look for your `device -> dps_data`
2121

22-
1. ![](/images/dev/device_diagnostics.png)
23-
2. ![](/images/dev/entry_diagnostics.png)
22+
1. ![](images/dev/device_diagnostics.png)
23+
2. ![](images/dev/entry_diagnostics.png)
2424

2525
__Now that we know the device `category` and `Codes` we can start add the entities.__
2626

docs/cloud_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This is a separate account from the one you made for the app. You cannot log in
4747

4848
Click the created project to enter the `Project Overview` page and get the `Authorization Key`. You will need these for setting up the integration. in the next step.
4949

50-
![](/images/tuya_iot_overview.png)
50+
![](images/tuya_iot_overview.png)
5151

5252
`Data center region`:
5353
Choose the country you picked when signing up.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LocalTuya is [HomeAssistant](https://www.home-assistant.io/) integration allows
66
by clicking on `configure` (1)
77
{ .annotate }
88

9-
1. ![](/images/configure.png)
9+
1. ![](images/configure.png)
1010

1111
!!! info "Cloud API"
1212
LocalTuya uses cloud only to get devices data and fill the required fields for you.

docs/installation.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Assuming you add the repository and Installed Integration from [Overview](index.
1919

2020
2. When adding new hub config page will show up (1)<br>
2121
{ .annotate }
22-
1. ![](/images/init.png)
22+
1. ![](images/init.png)
2323

2424
a. If you don't want to setup cloud api check `Disable Cloud API?` and skip to [ADD Devices](#add-new-device)
2525

@@ -34,8 +34,8 @@ After setting up the integration you can now manage your devices `ADD` and `EDIT
3434
By click on `Configure` (1) a menu will show up, Choose your (2)
3535
{ .annotate }
3636

37-
1. ![](/images/configure.png)
38-
2. ![](/images/options.png)
37+
1. ![](images/configure.png)
38+
2. ![](images/options.png)
3939

4040

4141
### Add new device
@@ -50,7 +50,7 @@ By click on `Configure` (1) a menu will show up, Choose your (2)
5050
Choose the device to configure and click on `submit`.
5151
{.annotate}
5252

53-
1. If device is on configured `Tuya account` ID will be replaced with the name if not will remain with `xxx (ip)` <br><br> ![](/images/opt_add_devices.png)
53+
1. If device is on configured `Tuya account` ID will be replaced with the name if not will remain with `xxx (ip)` <br><br> ![](images/opt_add_devices.png)
5454

5555
2. `Configure device`: Fill the fields that still missing and is `required`<br>
5656

@@ -109,12 +109,12 @@ This option will pretty much works for everyone but it more advanced.
109109
Each `platform` has different configuretion fields. <br> <br>
110110
{.annotate}
111111

112-
1. ![](/images/opt_configure_entity.png)
112+
1. ![](images/opt_configure_entity.png)
113113

114114
2. Configre `Switch` (1). All the fields can be changed later except for `ID`
115115
{.annotate}
116116

117-
1. ![](/images/opt_configure_switch_ex.png)
117+
1. ![](images/opt_configure_switch_ex.png)
118118

119119
!!! tip annotate "`DP` fields (1)"
120120
DP fields will show all the `DP IDs` of the device and the value of that `DP` `[Code only shows if cloud setup]`<br>
@@ -126,15 +126,15 @@ Each `platform` has different configuretion fields. <br> <br>
126126
Sometimes Devices don't report the all `DPS`, However `localtuya` will pull them if cloud is setup.<br>
127127
it's only recommended to use this `DPs` for button platform -->
128128

129-
1. ![](/images/dps_list_ex.png)
130-
2. `DP 1` Switch 1 is `OFF` `[1st gang]` <br> `DP 2` Switch 2 is `OFF` `[2nd gang]` <br> `DP 7` Switch 1 Timer is `0` <br> `DP 8` Switch 2 Timer is `0` <br> <br> ![](/images/dps_list_ex.png)
129+
1. ![](images/dps_list_ex.png)
130+
2. `DP 1` Switch 1 is `OFF` `[1st gang]` <br> `DP 2` Switch 2 is `OFF` `[2nd gang]` <br> `DP 7` Switch 1 Timer is `0` <br> `DP 8` Switch 2 Timer is `0` <br> <br> ![](images/dps_list_ex.png)
131131

132132
Must of the fields are Optional but `ID` is always `Required` so from the example choosing Platform `Switch` and set `ID` to `1` to configure entity switch controls `1st Gang switch`<br> <br>
133133

134134
3. When submit first entity, `IF there is still more DP IDs not configured yet` it will ask you if you want to finish the process or add more entities (1)
135135
{.annotate}
136136

137-
1. ![](/images/opt_configure_more.png)
137+
1. ![](images/opt_configure_more.png)
138138

139139
!!! info ""
140140
I unchecked `Finish configuring entities` and repeated `step 2` to add another `switch` entity that controls `ID 2` <- `2nd Gang switch`
@@ -150,7 +150,7 @@ Each `platform` has different configuretion fields. <br> <br>
150150
!!! annotate note ""
151151
Templates will be loaded when HA starts so in order for template to show in the list restart is needed<br>
152152
However when you import a template you can manually type the name `my_template.yaml` (1)<br>
153-
1. ![](/images/templates.png)
153+
1. ![](images/templates.png)
154154

155155
###### Create templates
156156
There's 2 way to create templates
@@ -204,13 +204,13 @@ There's 2 way to create templates
204204
Reconfigure existing device (1) works pretty much like `Add Device steps` but you can now modify old entities or add more<br>
205205
{.annotate}
206206

207-
1. ![](/images/opt_reconfigure_device.png)
207+
1. ![](images/opt_reconfigure_device.png)
208208

209209
#### Delete entities
210210
You can delete the entity by uncheck the entity you want to remove on `reconfigure device` (1)
211211
{.annotate}
212212

213-
1. ![](/images/opt_reconfigure_device_entity_check.png)
213+
1. ![](images/opt_reconfigure_device_entity_check.png)
214214

215215
### Manage Cloud API account
216216
You can manage your configured Tuya CloudAPI account, or disable cloud
@@ -220,4 +220,4 @@ You can manage your configured Tuya CloudAPI account, or disable cloud
220220
2. On device info panel click on the :material-dots-vertical: and click on __delete__
221221

222222
??? example "Example image"
223-
![](/images/delete_device.png)
223+
![](images/delete_device.png)

0 commit comments

Comments
 (0)