Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rytilahti/python-miio
/ state
Method
state
miio/tests/test_waterpurifier.py:50–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
return
self.device.status().is_on
49
50
def
state(self):
51
return
self.device.status()
52
53
def
test_on(self):
54
self.device.off()
# ensure off
Callers
1
test_status
Method · 0.95
Calls
1
status
Method · 0.45
Tested by
no test coverage detected