Matija Kovacic

Results 4 comments of Matija Kovacic

I would disagree - if entity controller is active, it's too late to override it - so it should do its thing until its done. In my mind override is...

However, thinking about it more, we already do have a way to set up behaviour for transition to active - it _is_ the sensor property. It's just a matter of...

```yaml - trigger: - platform: state entity_id: binary_sensor.a_motion_sensor for: milliseconds: 100 binary_sensor: - name: "Motion Light Trigger" unique_id: "a_motion_light_trigger" state: > {% set is_on = is_state('binary_sensor.a_motion_light_trigger', 'on') %} {% set...

EC configuration is then simple, with the trigger defined as above ```yaml entity_controller: a_motion_light: sensor: binary_sensor.a_motion_light_trigger entity: light.some_light_to_control sensor_type: duration sensor_resets_timer: true ``` Note that `a_motion_light` is checked in the...