duke_energy sensor platform allows you get the previous days usage for all of your Duke Energy smart meters.
You will only have access to meters listed in your account at Duke Energy Usage.
This supports both electric and gas meters. Along with previous days usage, each sensor will have attributes for the previous bills total usage and average usage.
To enable the sensor, add the following lines to your
# Example configuration.yaml entry sensor: - platform: duke_energy username: YOUR_DUKE_USERNAME password: YOUR_DUKE_PASSWORD
Meter usage isn’t updated until mid-morning. Prior to updating your meter will report 0 for usage starting at midnight. The API is only called to update every 2 hours from startup time.