#power sensors

1 messages · Page 1 of 1 (latest)

opal parrot
#
- platform: mqtt
  name: emonesp_w
  device_class: power
  state_topic: "emonesp/W"

- platform: template
  sensors:
    wattage:
      value_template: '{{ states("sensor.emonesp_w") | int }}'```
#

unit_of_measurement: W definitely makes it worse, haha

#

changing device_class to energy instead

#

now showing as W unit type in the history tab, this may have done it!

#

negative, still digging

opal parrot
#

reading more, this emonesp_w value is power, current wattage consumption, but Energy dashboard wants kWh consumption accumulative rather than the current value it seems