mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-05 12:27:02 +00:00
fe88b52e19
- The `get_energy_usage` query can fail if the device time is not set because the response includes the device time. - Make `get_energy_usage` an optional query response so the energy module can fall back to getting the power from `get_emeter_data` or `get_current_power` on error. - Devices on `energy_monitoring` version 1 still fail as they have no additional queries to fall back to. |
||
---|---|---|
.. | ||
features | ||
modules | ||
__init__.py | ||
test_smartdevice.py |