Skip to content

Configuration Custom Position

Jason Rhubottom edited this page May 17, 2026 · 9 revisions

Custom Position

Up to 4 custom position slots, each pairing a binary sensor with a fixed cover position. When the sensor is on, the cover moves to the configured position (priority 77 by default, overriding solar and climate but not manual or force override). Each slot has an independent configurable priority (1–99).

Variable Default Range Description
Custom Position Sensor 1–4 None Binary sensor entity. When on, triggers the custom position for that slot.
Custom Position 1–4 0 0–100 Cover position (%) to move to when the sensor is active.
Custom Position Priority 1–4 77 1–99 Pipeline evaluation priority for this slot. Higher = evaluated before lower-numbered handlers. Multiple slots are evaluated in descending priority order.
Minimum Mode 1–4 Off When enabled, the position acts as a minimum floor: the cover won't go below it, but higher positions from solar tracking or other handlers are still allowed through. When disabled (default), the cover is always set to exactly the configured position. Floor applies to ACP-issued commands only β€” see note below.
Use My Preset 1–4 Off When enabled, sends the Somfy My position command instead of the numeric position value. Requires My Position Value to be set in Position settings. See My Position Support.

Minimum Mode and external commands

Minimum mode is enforced inside ACP's pipeline β€” it constrains the position ACP itself sends to the cover. It does not intercept direct cover.set_cover_position calls from a dashboard, script, or other automation. A direct call to cover.set_cover_position reaches the cover unchanged and also marks the cover as manually overridden, pausing ACP automation.

To enforce the active minimum-mode floor from automations and dashboards, call the integration's own service:

service: adaptive_cover_pro.set_position
target:
  entity_id: cover.living_room_blind
data:
  position: 30

The service clamps the requested position up to the highest active minimum-mode floor before sending the command. If no slot is active, the call is a pass-through. Tilt is not affected. See Known Limitations.

Example use cases:

  • A bedroom schedule sensor forces blinds closed (0%) for an afternoon nap
  • A movie sensor moves living room blinds to 80% when the TV is on
  • A Somfy cover uses its stored My preset when a specific scene is active
  • Multiple sensors at different priorities let you stack logic (e.g. "watching TV" overrides general solar but a "morning coffee" sensor takes priority over both)

Compound conditions with template sensors

Each slot takes a single binary sensor, but you can encode multi-condition logic into that sensor using a Template Binary Sensor. This lets you gate a custom position on combinations of state, sun position, and time of day without any automation.

Example: TV mode that adapts to sun position

Suppose you want the living room blind to:

  • Close (0%) when the TV is on and sun is hitting the window directly
  • Open fully (100%) when the TV is on but there's no direct sun, as long as it's still daytime
  • Do nothing when the TV is on after sunset (let the sunset handler decide)

Create two template binary sensors, either via Developer Tools β†’ Template or in configuration.yaml:

template:
  - binary_sensor:
      - name: "TV Glare Mode"
        state: >
          {{ is_state('binary_sensor.tv', 'on') and
             is_state('binary_sensor.sun_in_window_living_room', 'on') }}

      - name: "TV Open Blind Mode"
        state: >
          {{ is_state('binary_sensor.tv', 'on') and
             is_state('binary_sensor.sun_in_window_living_room', 'off') and
             not is_state('sun.sun', 'below_horizon') }}

binary_sensor.sun_in_window_living_room is the sun-in-window sensor the integration creates for your cover; find it in the Entities list under your cover device.

Then configure two custom position slots in the integration's options:

Slot Sensor Position Priority
1 binary_sensor.tv_glare_mode 0% 85
2 binary_sensor.tv_open_blind_mode 100% 78

The "TV on after sunset, do nothing" case is handled by the template: TV Open Blind Mode checks that the sun is above the horizon, so it stays off at night and the sunset handler runs instead.

Pairing with Force Override

If an awning (or any other device) should always take precedence and keep the blind open, use the Force Override slot rather than a custom position. Force Override runs at priority 100, above all custom positions, so it pre-empts everything else when its sensor is active.

Clone this wiki locally