Skip to content

Commit 6a20832

Browse files
authored
Merge pull request #111 from kzosabe/develop
Release 0.4.1
2 parents 408dc1c + 8cc0626 commit 6a20832

14 files changed

Lines changed: 397 additions & 298 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v3
2121

2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v3
23+
uses: actions/setup-python@v4
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Load cached venv
3434
id: cached-poetry-dependencies
35-
uses: actions/cache@v3.0.2
35+
uses: actions/cache@v3.0.9
3636
with:
3737
path: .venv
3838
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
0.4.1, 2022-10-22
2+
-------------------------
3+
4+
- Add new devices
5+
- Robot Vacuum Cleaner S1, Robot Vacuum Cleaner S1 Plus
6+
- Add information about upgrading to API v1.1
7+
- The switchbot API has been updated from v1.0 to v1.1
8+
- v1.0-compliant implementations will be finalized in this version,
9+
and v1.1-compliant development will proceed in switchbot-client-1.x.x
10+
111
0.4.0, 2022-05-24
212
-------------------------
313

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99
An unofficial Python client implementation of the SwitchBot API.
1010

11+
## About this version
12+
13+
switchbot-client-0.x.x is the implementation for [SwitchBot API version 1.0](https://github.com/OpenWonderLabs/SwitchBotAPI/blob/main/README-v1.0.md).
14+
The implementation for API version 1.1 or later will proceed with switchbot-client-1.x.x.
15+
Please select the library version according to the API version you use.
16+
Development of switchbot-client-0.x.x will likely cease with the SwitchBot API version update, and we recommend moving to 1.x.x.
17+
1118
## Table of Contents
1219

1320
- [Authentication](#authentication)
@@ -31,7 +38,7 @@ this client will automatically use this value.
3138

3239
```shell
3340
export SWITCHBOT_OPEN_TOKEN=your_switchbot_open_token
34-
python3 your_script.py
41+
python your_script.py
3542
```
3643

3744
```python
@@ -62,7 +69,7 @@ this client will automatically use the value.
6269
```shell
6370
mkdir -p ~/.config/switchbot-client
6471
echo "token: your_switchbot_open_token" >> ~/.config/switchbot-client/config.yml
65-
python3 your_script.py
72+
python your_script.py
6673
```
6774

6875
```python

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
project = "switchbot-client"
66
copyright = "2021, kzosabe"
77
author = "kzosabe"
8-
release = "0.4.0"
8+
release = "0.4.1"
99
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon"]
1010
templates_path = ["_templates"]
1111
exclude_patterns = ["_build", ".DS_Store"]

docs/switchbot_client.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Subpackages
99

1010
switchbot_client.devices
1111
switchbot_client.scenes
12+
switchbot_client.webhooks
1213

1314
Submodules
1415
----------

docs/switchbot_client.webhooks.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
switchbot\_client.webhooks package
2+
==================================
3+
4+
Submodules
5+
----------
6+
7+
switchbot\_client.webhooks.base module
8+
--------------------------------------
9+
10+
.. automodule:: switchbot_client.webhooks.base
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
15+
Module contents
16+
---------------
17+
18+
.. automodule:: switchbot_client.webhooks
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:

0 commit comments

Comments
 (0)