#no action executed even though condition is true

1 messages · Page 1 of 1 (latest)

soft lagoon
#

I cant understand why this does not fire the action block..

    conditions:
      not:
        condition: state
        entity_id: cover.screen_keuken
        attribute: current_position
        state: 100
    actions:
      action: cover.open_cover
      target:
        entity_id: cover.screen_keuken
#

the trigger did fire the automation itself:```

  • id: donker_buiten_sets_screen_keuken
    triggers:
    • trigger: state
      entity_id: binary_sensor.donker_buiten
      to: 'on'
      not_from: *un
    • trigger: numeric_state
      entity_id: sensor.achterdeur_buiten_sensor_illuminance
      below: 250
gaunt python
#

If state condition was true, so not state condition would be false, and therefore kill the execution?

soft lagoon
#

Currently the position is 15. So I would want it to open because of the trigger and condition not being 100. But it doesnt( note I use the position and not state because that is simply open right now…)

gaunt python
#

The trace says state: 100 and wanted_state: 100. You don't think that's correct?