Right now it is not possible to configure for:
of state-conditions from the UI Editor.
I did not even know this was possible, until searching for a solution for this problem.
You can use the feature from the yaml editor like documented here:
https://www.home-assistant.io/docs/scripts/conditions/#state-condition
Example Automation:
(note the for: '00:10:00'
in the condition)
alias: test
description: ''
trigger:
- platform: state
entity_id: input_boolean.trigger_automation
condition:
- condition: state
entity_id: person.somebody
state: home
for: '00:10:00'
action:
- service: notify.somebody
data:
message: test
mode: single
But when using the UI this option is missing:
This can create confusion, as not all of the configuration is displayed.
Home Assistant version: 2020.12.1