Skip to content

myenergi_zappi_SERIAL_charge_added_session state_class and device_class conflict. #751

@LeiChat

Description

@LeiChat

The ...charge_added_session entity currently has a state_class of total_increasing. Apparently, this is invalid for an entity with device_class of energy if the value resets, which we know it does.

I believe the state_class should be measurement and the device_class should be null, because despite it being a value with unit kWh, device_class: energy should not be used with an entity with state_class: measurement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions