Skip to content

Force sensor update to allow derivative helper to track current power draw.  #275

Open
@tabascoz

Description

@tabascoz

Hi there

I have some devices that does report Total Energy utilization but not Current Energy. So to be able to track real-time power, i created some derivative sensors and was able to get current power draw.

But the problem is that the derivative helper only updates it's value when source sensor updates itself. It looks like when i power off the AC the sensor does not update anymore and my derivative sensor is stuck with the last reading in watts.

Would it be possible to force sensor update within a given timeframe, let's say 1 min?

Cheers, Tabascoz

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions