python-kasa/tests/smart
Teemu R. fe88b52e19
Fallback to other module data on get_energy_usage errors ()
- 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.
2024-12-20 08:53:07 +00:00
..
features Move tests folder to top level of project () 2024-11-11 10:11:31 +00:00
modules Fallback to other module data on get_energy_usage errors () 2024-12-20 08:53:07 +00:00
__init__.py Move tests folder to top level of project () 2024-11-11 10:11:31 +00:00
test_smartdevice.py Fallback to other module data on get_energy_usage errors () 2024-12-20 08:53:07 +00:00