Correct Fibaro z-wave plug wrong class for energy dashboard

Fibaro z-wave plug wrongly reports “*_electrical_kwh_value” as power class, so it can’t be added to energy dashboard.

(with zwave2mqtt)

Adding this to /config/configuration.yaml helps:

homeassistant:
  customize_glob:
    sensor.*_electric_kwh_value:
      device_class: energy
      state_class: total_increasing
1 Like