Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rytilahti/python-miio
/ is_on
Method
is_on
miio/tests/test_chuangmi_plug.py:119–120 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
117
@pytest.mark.usefixtures(
"chuangmiplugv3"
)
118
class
TestChuangmiPlugV3(TestCase):
119
def
is_on(self):
120
return
self.device.status().is_on
121
122
def
state(self):
123
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