Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

0.1.0 Release #57

Merged
merged 51 commits into from
Dec 28, 2021
Merged

0.1.0 Release #57

merged 51 commits into from
Dec 28, 2021

Conversation

mjmeli
Copy link
Owner

@mjmeli mjmeli commented Dec 28, 2021

This is the PR for the 0.1.0 release. This is a large refactoring of the integration required to implement a new sensor - realtime power usage!

Highlights of this release will be:

  • Moved default meter selection logic into abstracted pyduke-energy function select_default_meter
  • Implementation of real-time power usage sensor
    • New sensor sensor.duke_energy_current_usage_w that represents the real-time power usage in watts.
    • This data is pushed from the gateway device every 1-3 seconds. NOTE: This produces a lot of data. If this update interval is too frequent for you, you can configure a throttling interval in seconds via the integration configuration.
    • Note that since this is power usage, it cannot be used as-is for the Home Assistant energy dashboard. Instead, you can use the sensor.duke_energy_usage_today_kwh sensor, or you need to feed this real-time sensor through the Riemann sum integral integration.
  • Add rounding to usage today sensor
  • Additional debug logging for investigating issues

mjmeli and others added 30 commits October 25, 2021 16:32
use the new select_default_meter client lib method to select meter
Implementation of real-time energy usage sensor
mjmeli and others added 21 commits October 30, 2021 11:27
add rounding to usage today sensor
Update readme and tick pyduke-energy version
0.1.0b7 - tick pyduke-energy, fix NoneType not callable error
…n indefinite function that handles errors and reconnects
fix issue with multiple update listeners on entry unload/reload
@mjmeli mjmeli merged commit 1b4cdd2 into main Dec 28, 2021
@mjmeli mjmeli deleted the 0.1.0-beta branch December 28, 2021 15:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant