Skip to content

Commit 6e38458

Browse files
committed
Docs update
1 parent 52521e8 commit 6e38458

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

docs/devices/outlets.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
- [Etekcity 15A Outlet][pyvesync.devices.vesyncoutlet.VeSyncOutlet15A]
1111
- [Etekcity 15A Outdoor Dual Outlet][pyvesync.devices.vesyncoutlet.VeSyncOutdoorPlug]
1212
- [Etekcity 10A USA Outlet][pyvesync.devices.vesyncoutlet.VeSyncESW10USA]
13-
- [VeSync BSODG Smart Outlet][pyvesync.devices.vesyncoutlet.VeSyncOutletBSDGO1]
13+
- [VeSync BSODG Smart Outlet][pyvesync.devices.vesyncoutlet.VeSyncBSDOGPlug]
14+
- [VeSync Greensun WHOPLUG Smart Outlet][pyvesync.devices.vesyncoutlet.VeSyncOutletWHOGPlug]
1415
- [VeSyncOutlet Base Class][pyvesync.base_devices.outlet_base.VeSyncOutlet]
1516

1617
::: pyvesync.base_devices.outlet_base.OutletState
@@ -110,7 +111,7 @@
110111
summary:
111112
functions: false
112113
group_by_category: true
113-
toc_label: "VeSyncOutlet BSDGO1"
114+
toc_label: "VeSyncOutlet ESW10"
114115
show_root_heading: true
115116
show_root_toc_entry: true
116117
show_category_heading: true
@@ -121,7 +122,7 @@
121122
ignore_init_summary: true
122123
merge_init_into_class: false
123124

124-
::: pyvesync.devices.vesyncoutlet.VeSyncOutletBSDGO1
125+
::: pyvesync.devices.vesyncoutlet.VeSyncBSDOGPlug
125126
options:
126127
filters:
127128
- "!^_.*"
@@ -139,6 +140,24 @@
139140
ignore_init_summary: true
140141
merge_init_into_class: false
141142

143+
::: pyvesync.devices.vesyncoutlet.VeSyncOutletWHOGPlug
144+
options:
145+
filters:
146+
- "!^_.*"
147+
summary:
148+
functions: false
149+
group_by_category: true
150+
toc_label: "VeSyncOutlet WHOGPlug"
151+
show_root_heading: true
152+
show_root_toc_entry: true
153+
show_category_heading: true
154+
show_source: true
155+
show_if_no_docstring: true
156+
inherited_members: true
157+
docstring_options:
158+
ignore_init_summary: true
159+
merge_init_into_class: false
160+
142161
::: pyvesync.base_devices.outlet_base.VeSyncOutlet
143162
options:
144163
filters:

src/pyvesync/devices/vesyncoutlet.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,14 +746,11 @@ async def _bypass_v1_api_helper(
746746
"""Send ByPass V1 API request.
747747
748748
This uses the `_build_request` method to send API requests to the Bypass V1 API.
749-
The endpoint can be overridden with the `endpoint` argument.
750749
751750
Args:
752751
request_model (type[RequestBypassV1]): The request model to use.
753752
update_dict (dict): Additional keys to add on.
754753
method (str): The method to use in the outer body.
755-
endpoint (str | None): The last part of the url path, defaults to
756-
`bypass`, e.g. `/cloud/v1/deviceManaged/bypass`.
757754
758755
Returns:
759756
bytes: The response from the API request.

0 commit comments

Comments
 (0)