Skip to content

Commit

Permalink
fix wan_ipv4_uptime can be None
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrErohin committed Nov 20, 2023
1 parent f25fd75 commit 5622664
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ asyncio.run(tasks())
| guest_5g_enable | Is guest wifi 5G enabled | bool |
| wifi_2g_enable | Is main wifi 2.4G enabled | bool |
| wifi_5g_enable | Is main wifi 5G enabled | bool |
| wan_ipv4_uptime | Internet Uptime | int |
| wan_ipv4_uptime | Internet Uptime | int, None |
| mem_usage | Memory usage | float |
| cpu_usage | CPU usage | float |
| devices | List of all wifi clients | list[[Device](#device)] |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tplinkrouterc6u",
version="0.1.0",
version="0.1.1",
author="Alex Erohin",
author_email="[email protected]",
description="TP-Link Router API for Archer C6U and Archer AX10",
Expand Down
2 changes: 1 addition & 1 deletion tplinkrouterc6u/dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Status:
guest_5g_enable: bool
wifi_2g_enable: bool
wifi_5g_enable: bool
wan_ipv4_uptime: int
wan_ipv4_uptime: int | None
mem_usage: float
cpu_usage: float
devices: list[Device]

0 comments on commit 5622664

Please sign in to comment.