Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added support for runner s12, light sl01, and light sl01 mini #726

Merged
merged 2 commits into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
"runner": DeviceType.RUNNER,
"runnermini": DeviceType.RUNNER_MINI,
"runners11": DeviceType.RUNNER_S11,
"runners12": DeviceType.RUNNER_S12,
"light01": DeviceType.LIGHT_SL01,
"light01mini": DeviceType.LIGHT_SL01_MINI,
}

parser = ArgumentParser(
Expand Down
30 changes: 18 additions & 12 deletions docs/device_types.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
| Type | Device |
|:------------|:---------------------------------------------|
| v2esp | [Switcher V2 ESP][switcher-v2] |
| v2qual | [Switcher V2 Qualcomm][switcher-v2] |
| mini | [Switcher Mini][switcher-mini] |
| touch | [Switcher Touch (V3)][switcher-touch] |
| v4 | [Switcher V4][switcher-v4] |
| plug | [Switcher Power Plug][switcher-power-plug] |
| breeze | [Switcher Breeze][switcher-breeze] |
| runner | [Switcher Runner][switcher-runner] |
| runnermini | [Switcher Runner Mini][switcher-runner-mini] |
| runners11 | [Switcher Runner S11][switcher-runner-s11] |
| Type | Device |
|:------------|:-----------------------------------------------------|
| v2esp | [Switcher V2 ESP][switcher-v2] |
| v2qual | [Switcher V2 Qualcomm][switcher-v2] |
| mini | [Switcher Mini][switcher-mini] |
| touch | [Switcher Touch (V3)][switcher-touch] |
| v4 | [Switcher V4][switcher-v4] |
| plug | [Switcher Power Plug][switcher-power-plug] |
| breeze | [Switcher Breeze][switcher-breeze] |
| runner | [Switcher Runner][switcher-runner] |
| runnermini | [Switcher Runner Mini][switcher-runner-mini] |
| runners11 | [Switcher Runner S11][switcher-runner-s11] |
| runners12 | [Switcher Runner S12][switcher-runner-s12] |
| light01 | [Switcher Light SL01][switcher-light-sl01] |
| light01mini | [Switcher Light SL01 Mini][switcher-light-sl01-mini] |

[switcher-v2]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/%d7%a1%d7%95%d7%95%d7%99%d7%a6%d7%a8/
[switcher-mini]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/switcher-mini/
Expand All @@ -20,3 +23,6 @@
[switcher-runner]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/switcher-runner/
[switcher-runner-mini]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/switcher-runner-55/
[switcher-runner-s11]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/runner-lights-s11/
[switcher-runner-s12]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/runner-lights-s12/
[switcher-light-sl01]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/switcher-light-sl01/
[switcher-light-sl01-mini]: https://switcher.co.il/%D7%9E%D7%95%D7%A6%D7%A8/switcher-light-slmini01/
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aioswitcher==4.0.2
aiohttp==3.10.2
aioswitcher==4.2.0
aiohttp==3.10.10
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist=dev
skipsdist=True

[testenv]
basepython = python3.10
basepython = python3.12

[testenv:dev]
deps =
Expand Down
Loading