1
0

Update plants notifications

This commit is contained in:
Przemek Grondek 2023-02-05 16:40:37 +01:00
parent f6e83c2448
commit 2a8bef9314

View File

@ -28,32 +28,32 @@
entity_id: sensor.living_room_plant_2_moisture entity_id: sensor.living_room_plant_2_moisture
below: '5' below: '5'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_1_moisture # entity_id: sensor.thuja_plant_1_moisture
below: '20' # below: '20'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_1_moisture # entity_id: sensor.thuja_plant_1_moisture
below: '15' # below: '15'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_1_moisture # entity_id: sensor.thuja_plant_1_moisture
below: '10' # below: '10'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_1_moisture # entity_id: sensor.thuja_plant_1_moisture
below: '5' # below: '5'
#
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_2_moisture # entity_id: sensor.thuja_plant_2_moisture
below: '20' # below: '20'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_2_moisture # entity_id: sensor.thuja_plant_2_moisture
below: '15' # below: '15'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_2_moisture # entity_id: sensor.thuja_plant_2_moisture
below: '10' # below: '10'
- platform: numeric_state # - platform: numeric_state
entity_id: sensor.thuja_plant_2_moisture # entity_id: sensor.thuja_plant_2_moisture
below: '5' # below: '5'
#
# - platform: numeric_state # - platform: numeric_state
# entity_id: sensor.ble_moisture_thuja_plant_3 # entity_id: sensor.ble_moisture_thuja_plant_3
# below: '20' # below: '20'
@ -72,3 +72,9 @@
title: Water plants title: Water plants
message: > message: >
{{ state_attr(trigger.entity_id, 'friendly_name') }} has moisture {{ states(trigger.entity_id) }} % {{ 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: [ "1071801716070154240" ]