Skip to content

Allow expire_after configuration variable to be set #121

@etillxd

Description

@etillxd

Right now if the addon is stopped (and possibly if polling fails, not sure if that case ist handled) the sensor continues to stay on the last received value, until hass is restarted.
There is the configuration value 'expire_after' or 'exp_aft' in short form. This allows to set a time in seconds after which the value becomes unavailable, if no new value is received.
This could be, for example, be set to a configurable factor of the polling rate or be disabled when set to 0.

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