Skip to content

Missing currency in recorder? #49

Description

@kodsama

Hi!

I get this error in HA with the recorder:

[homeassistant.components.sensor.recorder] The unit of sensor.greenely_hourly_usage (None) cannot be converted to the unit of previously compiled statistics (kWh). Generation of long term statistics will be suppressed unless the unit changes back to kWh or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this

It seems we need to provide a currency when getting the price to be able to store it.

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