Skip to content

Sensors have duplication in entity name #116

@Si-GCG

Description

@Si-GCG

when the DC Charger entities are created they have duplication in the name: sensor.sigen_inverter_dc_charger_dc_charger_charging_current
Could this be solved by adding the following in sensor.py?

if device_conn.get(CONF_INVERTER_HAS_DCCHARGER, False): if "dc charger" not in device_name.lower(): dc_name = f"{device_name} DC Charger" else: dc_name = device_name

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