Replacement for DTE Energy Bridge

If anyone else is being affected by the DTE energy bridge being deprecated, you can use the following configuration instead. I believe this will only work with V1 units.

sensor:
  - platform: rest
    name: DTE Energy Meter
    resource: http://192.168.1.4/instantaneousdemand
    device_class: power
    state_class: measurement
    unit_of_measurement: kW
    value_template: '{{value[:10]}}'
    availability: '{{float(value[:10]) > 0}}'

Its not hard, but it took me a few minutes to figure out, so I’m hoping it will save someone else time!

Looks like to make it work in the Energy tab, you also need to add one more helper that looks like this:

You’ll want to change that to Left Rieman Sum. If you want to know why, do some searching on the forum as it’s a common issue.