Pyemvue

Latest version: v0.18.5

Safety actively analyzes 638681 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.10.1

Also includes notes for v0.10.0.

Added new method `get_usage_over_date_range(self, channel, start, end, scale=Scale.DAY.value, unit=Unit.WATTS.value)` for getting the usage for days, weeks, months, years. This method must be used to get historical data for any time frame of a day or more now, the call to get_usage_for_time_scale will not work properly with scales of a day or more, only giving data for today/this week/month/year. Note that there is some weird behavior regarding the dates associated with the data returned so take note of the recommendations in the readme and do some manual verification as well.

0.9.9

Added requirement for python-dateutil. Using dateutil to parse dates and handle timezones. Fixes 2.

0.9.8

Added `get_usage_for_time_scale(datetime, scale, unit)` to get the usage for each channel for a specific "bucket" of time. For example, getting the total usage for a day in the recent past or the total usage during a specific hour of time.

0.9.7

Added functionality to pull sub-devices out of a primary device and flatten them at the same level as the main device. This is to enable getting data from the expansion module (which is listed as a sub-device of the main Vue unit). The expansion module should now show up as another device when calling `get_devices` with the same gid as the main unit.
Note that I do not have the expansion module so I cannot directly test this change myself with it.

0.9.6

- Add additional information to `populate_device_properties`.
- Fix for issue with locationProperties being None
- Fix for issue with device usage being None, uses 0 instead.

0.9.5

Added `populate_device_properties` to update a VueDevice with additional properties like the device_name.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.