mirror of
https://github.com/suaveolent/hoymiles-wifi.git
synced 2024-09-20 03:10:11 +00:00
fix network select enum
This commit is contained in:
parent
1e8d3635e7
commit
b35e59adab
@ -56,6 +56,10 @@ class NetmodeSelect(Enum):
|
|||||||
SIM = 2
|
SIM = 2
|
||||||
LAN = 3
|
LAN = 3
|
||||||
|
|
||||||
|
def __int__(self):
|
||||||
|
"""Return the integer value of the network mode selection."""
|
||||||
|
return self.value
|
||||||
|
|
||||||
|
|
||||||
class NetworkState(Enum):
|
class NetworkState(Enum):
|
||||||
"""Network state."""
|
"""Network state."""
|
||||||
|
Loading…
Reference in New Issue
Block a user