Skip to content

Commit

Permalink
docs: Update screenshots (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Nov 20, 2024
1 parent f5e3abd commit 1704616
Show file tree
Hide file tree
Showing 32 changed files with 20 additions and 14 deletions.
1 change: 1 addition & 0 deletions docs/assets/.bin/optimize-png
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pngquant --quality 80 --speed 1 -fv "$1"
5 changes: 5 additions & 0 deletions docs/assets/.bin/safari-resize
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if [ "$1" == "wide" ]; then
osascript -e 'tell application "Safari" to set bounds of front window to {0, 0, 1150, 650}'
else
osascript -e 'tell application "Safari" to set bounds of front window to {0, 0, 1000, 650}'
fi
Binary file modified docs/assets/images/app/yandex/discovery-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/app/yandex/discovery-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/app/yandex/discovery-3.png
Binary file not shown.
Binary file removed docs/assets/images/app/yandex/unlink-3.png
Binary file not shown.
Binary file removed docs/assets/images/app/yandex/unlink-4.png
Binary file not shown.
Binary file added docs/assets/images/app/yandex/unlink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/config/filter-gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/config/gui-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/config/gui-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/config/reload-yaml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/config/state-unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/config/state_unknown.png
Binary file not shown.
Binary file modified docs/assets/images/devices/sensor/attach-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/attach-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/binary-device-class.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/combine-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/combine-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/simple-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/simple-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/devices/sensor/simple-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/entity-state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/faq/entity-id-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/faq/entity-id-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/faq/entity-id-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/faq/entity-id-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/filter-gui.png
Diff not rendered.
2 changes: 1 addition & 1 deletion docs/config/entity.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

Рекомендуется использовать для устройств, которые не возвращают своё актуальное состояние (например шторы или вентилятор, управляемые по IR каналу).

![](../assets/images/config/state_unknown.png)
![](../assets/images/config/state-unknown.png){ width=200 }

!!! example "Пример"
```yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/config/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

Выбрать объекты для передачи можно в [настройках интеграции](../config/getting-started.md#gui) --> Объекты для передачи в УДЯ:

![](../assets/images/filter-gui.png){ width=750 }
![](../assets/images/config/filter-gui.png){ width=750 }

## Через YAML конфигурацию { id=yaml }

Expand Down
16 changes: 8 additions & 8 deletions docs/devices/sensor/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

При выборе [поддерживаемых](../../supported-devices.md#float-sensor) объектов в доменах `sensor` и `binary_sensor` в УДЯ будут созданы несколько независимых устройств:

![](../../assets/images/devices/sensor/simple-1.png){ width=480 }
![](../../assets/images/devices/sensor/simple-3.png){ width=200 }
![](../../assets/images/devices/sensor/simple-2.png){ width=480 }
![](../../assets/images/devices/sensor/simple-1.png){ width=750 }
![](../../assets/images/devices/sensor/simple-2.png){ width=530 }
![](../../assets/images/devices/sensor/simple-3.png){ width=220 }

## Сборка нескольких датчиков в одном устройство { id=combine }

Expand Down Expand Up @@ -62,15 +62,15 @@

В [объектах для передачи в УДЯ](../../config/filter.md) нужно выбрать **только** `sensor.room_temperature`.

![](../../assets/images/devices/sensor/combine-1.png){ width=480 }
![](../../assets/images/devices/sensor/combine-2.png){ width=200 }
![](../../assets/images/devices/sensor/combine-1.png){ width=530 }
![](../../assets/images/devices/sensor/combine-2.png){ width=220 }

## Добавление датчиков к устройству { id=attach }

Некоторые устройства (термостат) уже содержат в своих атрибутах датчики, которые будет подхвачены автоматически.
А некоторые, например, увлажнитель - наоборот, все датчики выносят в отдельные объекты.

В качестве примера используем увлажнитель Xiaomi, он состоит из объектов:
В качестве примера используем увлажнитель, он состоит из объектов:

* Непосредственно увлажнитель: `humidifier.air_humidifier`
* Температура: `sensor.air_humidifier_temperature`
Expand Down Expand Up @@ -106,5 +106,5 @@

В объектах для передачи в УДЯ нужно выбрать **только** `humidifier.air_humidifier`.

![](../../assets/images/devices/sensor/attach-1.png){ width=480 }
![](../../assets/images/devices/sensor/attach-2.png){ width=200 }
![](../../assets/images/devices/sensor/attach-1.png){ width=530 }
![](../../assets/images/devices/sensor/attach-2.png){ width=220 }
8 changes: 4 additions & 4 deletions docs/platforms/yandex.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Нажмите :fontawesome-solid-plus: в правом верхнем углу --> `Устройство умного дома` -->
Найдите производителя `Yaha Cloud` (или другой навык) --> :fontawesome-solid-arrows-rotate:

![](../assets/images/app/yandex/discovery-1.png){ width=340 }
![](../assets/images/app/yandex/discovery-2.png){ width=340 }
![](../assets/images/app/yandex/discovery-1.png){ width=360 }
![](../assets/images/app/yandex/discovery-2.png){ width=360 }

## Отвязка навыка (производителя) и удаление устройств { id=unlink }

Expand All @@ -16,5 +16,5 @@
* Поставьте галочку `Удалить устройства` (если планируется повторно привязывать производителя - галочку ставить не нужно)
* Нажмите `Отвязать от Яндекса` или `Удалить аккаунт и устройства`

![](../assets/images/app/yandex/discovery-3.png){ width=270 }
![](../assets/images/app/yandex/unlink-4.png){ width=270 }
![](../assets/images/app/yandex/discovery-1.png){ width=360 }
![](../assets/images/app/yandex/unlink.png){ width=360 }

0 comments on commit 1704616

Please sign in to comment.