Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Test automation 5
- description: ""
- triggers:
- - value_template: |
- {% set nums =
- expand(label_entities('Numbers'))
- | selectattr('entity_id', 'search', '^(number|input_number)\\.')
- | map(attribute='state')
- | map('float', default=none)
- | reject('equalto', none)
- | list
- %} {{ nums | length > 0 and (nums | min) < 20 }}
- trigger: template
- conditions: []
- actions:[]
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment