Skip to content

Feature: suppress_stop_at_limits #53

@marcpbailey

Description

@marcpbailey

Problem:

When cover_time_based hits its internal calculated limits (0% or 100%), its auto_stop_if_necessary()
function unconditionally fires the cover.stop_cover service down to the underlying cover_entity_id.

For momentary switch/template setups where the end positions are hardware limited, this can result in the stop command firing unnecessarily. This can cause the physical hardware to either jolt, reverse, or get out of sequence since the hardware intrinsically stops itself at physical limits.

Proposed Solution:

Introduce a boolean configuration parameter suppress_stop_at_limits (default false to maintain backwards compatibility). When true, and only applicable when cover_entity_id is defined, the stop command is suppressed only when the cover reaches the 0 or 100 boundaries, allowing natural time-based stops at any arbitrary intermediate percentage (e.g. 50%).

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