mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-20 03:30:12 +00:00
Add real kasa KL430(UN) device dump (#192)
* Add real kasa KL430(UN) device dump * Adjust hue&sat max values * light strips, as bulbs, have only power for emeter Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
This commit is contained in:
@@ -89,7 +89,7 @@ async def test_emeter_status(dev):
|
||||
|
||||
assert d["power_mw"] == d["power"] * 1000
|
||||
# bulbs have only power according to tplink simulator.
|
||||
if not dev.is_bulb:
|
||||
if not dev.is_bulb and not dev.is_light_strip:
|
||||
assert d["voltage_mv"] == d["voltage"] * 1000
|
||||
|
||||
assert d["current_ma"] == d["current"] * 1000
|
||||
|
||||
Reference in New Issue
Block a user