- id: info-plants alias: '[INFO] Water plants' mode: single trigger: - platform: numeric_state entity_id: sensor.living_room_plant_1_moisture below: '20' - platform: numeric_state entity_id: sensor.living_room_plant_1_moisture below: '15' - platform: numeric_state entity_id: sensor.living_room_plant_1_moisture below: '10' - platform: numeric_state entity_id: sensor.living_room_plant_1_moisture below: '5' - platform: numeric_state entity_id: sensor.living_room_plant_2_moisture below: '20' - platform: numeric_state entity_id: sensor.living_room_plant_2_moisture below: '15' - platform: numeric_state entity_id: sensor.living_room_plant_2_moisture below: '10' - platform: numeric_state entity_id: sensor.living_room_plant_2_moisture below: '5' # - platform: numeric_state # entity_id: sensor.thuja_plant_1_moisture # below: '20' # - platform: numeric_state # entity_id: sensor.thuja_plant_1_moisture # below: '15' # - platform: numeric_state # entity_id: sensor.thuja_plant_1_moisture # below: '10' # - platform: numeric_state # entity_id: sensor.thuja_plant_1_moisture # below: '5' # # - platform: numeric_state # entity_id: sensor.thuja_plant_2_moisture # below: '20' # - platform: numeric_state # entity_id: sensor.thuja_plant_2_moisture # below: '15' # - platform: numeric_state # entity_id: sensor.thuja_plant_2_moisture # below: '10' # - platform: numeric_state # entity_id: sensor.thuja_plant_2_moisture # below: '5' # # - platform: numeric_state # entity_id: sensor.ble_moisture_thuja_plant_3 # below: '20' # - platform: numeric_state # entity_id: sensor.ble_moisture_thuja_plant_3 # below: '15' # - platform: numeric_state # entity_id: sensor.ble_moisture_thuja_plant_3 # below: '10' # - platform: numeric_state # entity_id: sensor.ble_moisture_thuja_plant_3 # below: '5' action: - service: notify.mobile_app_iphone data: title: Water plants message: > {{ state_attr(trigger.entity_id, 'friendly_name') }} has moisture {{ states(trigger.entity_id) }} % - service: notify.home_assistant data: message: > Water plants {{ state_attr(trigger.entity_id, 'friendly_name') }} has moisture {{ states(trigger.entity_id) }} % target: [ "1109936159951441960" ]