MCPcopy
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")
46class 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_onMethod · 0.95
test_offMethod · 0.95
test_statusMethod · 0.95

Calls 1

statusMethod · 0.45

Tested by

no test coverage detected