water_plants_check: alias: '[Info] check water plants' sequence: {% for plant in plants %} - choose: - conditions: - condition: numeric_state entity_id: {{ plant.entity_id }} attribute: moisture below: {{ plant.min_humidity }} sequence: - action: notify.mobile_app_iphone data: message: {{ plant.name }} moisture below {{ plant.min_humidity }}%, water plant {% endfor %}