Skip to content

Override entity prevents switching off #293

Open
@hcrohland

Description

@hcrohland

Description

I have a a threshold sensor which triggers when illumination is higher than a certain level as an override for a motion sensor triggered EC.

The documentation says: "You can define entities which stop EC from transitioning into active state if those entities are in on state". But the override is also used in active state.

Since the threshold is lower than the illumination created by the controlled light, the light never switches off.

The EC goes into the following state:

sensor_type: duration
delay: 180s
last_triggered_by: binary_sensor.lumi_lumi_sensor_motion_aq2_18cbe307_ias_zone
last_triggered_at: 2022-12-05 10:47:32.718405
icon: mdi:timer-off-outline
friendly_name: eingang
expires_at: 2022-12-05T10:50:32.718532
service_data: 
entity_id: light.iluminize_5120_1200_249828fe_on_off

sensor_turned_off_at: 2022-12-05T10:48:42.719310
overridden_by: binary_sensor.helligkeit_eingang
overridden_at: 2022-12-05 10:50:22.500030

Configuration

entity_controller:
  eingang:
    sensor: binary_sensor.lumi_lumi_sensor_motion_aq2_18cbe307_ias_zone
    sensor_type: duration
    entity: light.iluminize_5120_1200_249828fe_on_off
    overrides:
      - binary_sensor.helligkeit_eingang

Steps to reproduce

Steps to reproduce the behavior:

  1. Trigger motion with the treshold low enough

Expected behavior

This is how the component should work:

  1. Trigger motion
  2. EC switches light on
  3. Override triggers, but EC continues since it is already active....
  4. EC continues and switches light off after timeout

Actual Behaviour

This is what actually happened:

  1. Trigger motion
  2. EC switches light on
  3. Override triggers
  4. EC goes into override mode

Version

HA 2022.11.5
EC 9.6.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