Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rytilahti/python-miio
/ is_on
Method
is_on
miio/tests/test_waterpurifier.py:47–48 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
45
@pytest.mark.usefixtures(
"waterpurifier"
)
46
class
TestWaterPurifier(TestCase):
47
def
is_on(self):
48
return
self.device.status().is_on
49
50
def
state(self):
51
return
self.device.status()
Callers
3
test_on
Method · 0.95
test_off
Method · 0.95
test_status
Method · 0.95
Calls
1
status
Method · 0.45
Tested by
no test coverage detected