Skip to content

Cannot get energy usage from SP2600ZB #49

@houlejm

Description

@houlejm

If I try to add energy usage from SP2600ZB to homeassistant energy dashboard it does not work. From https://www.home-assistant.io/docs/energy/faq/#troubleshooting-missing-entities I see that the sensor is missing some attributes.

Capture d’écran du 2024-08-31 11-59-06

I can get around the problem with a template:

  • name: Énergie interrupteur
    unique_id: energie_interrupteur_1
    state: "{{ states('sensor.interrupteur_prise_1_summation_delivered') }}"
    state_class: total_increasing
    device_class: energy
    unit_of_measurement: "kWh"

This new sensor works.

Capture d’écran du 2024-08-31 14-03-15

Thanks

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