#QQ I hope
1 messages · Page 1 of 1 (latest)
The sensor in question:
host: !secret R730XD-IP
version: "3"
username: "prtgV3"
auth_key: !secret R730XD-SNMP-Password
auth_protocol: "hmac-sha"
priv_key: !secret R730XD-SNMP-Password
priv_protocol: "aes-cfb-128"
name: R730XD_powerUsageCumulativeWattage
baseoid: 1.3.6.1.4.1.674.10892.5.4.600.60.1.7.1.1
unit_of_measurement: Wh
device_class: power
state_class: total
value_template: "{{((value | float) / 1000) | float}}"```
The error under Dev Tools > Statistics is, The unit ('kWh') of this entity doesn't match a unit of device class 'power'.
device class should be energy if it's in Wh or kWh, power is for W
more info here on device classes https://www.home-assistant.io/integrations/sensor/
Ahh, I’ll have to try this. Thank you!
would it be measurement or total?