HI all,
I have multiple automations that run to check if my plants need watering. Ideally, i would like to combine it into one automation but I’m not sure how as i would still like it to only tell me what plants are effected
- id: '1616518565475'
alias: Calamondin
description: ''
trigger:
- platform: time
at: '20:00:00'
condition:
- condition: numeric_state
entity_id: plant.calamondin
attribute: moisture
below: 45
action:
- service: notify.mypushover
data:
message: 'The calamondin plant in the kitchen needs watering! '
title: Plant SOS
- service: notify.alexa_media
data:
data:
type: announce
target:
- media_player.living_room
- media_player.kitchen_echo
message: The calamondin plant in the kitchen needs watering!
mode: single
- id: '161650'
alias: Plant Watering - Jade Plant
description: ''
trigger:
- platform: time
at: '20:04:00'
condition:
- condition: numeric_state
entity_id: plant.jadeplant
below: '6'
action:
- service: notify.mypushover
data:
message: 'The jade plant in the kitchen needs watering! '
title: Plant SOS
- service: notify.alexa_media
data:
data:
type: announce
target:
- media_player.living_room
- media_player.kitchen_echo
message: The jade plant in the kitchen needs watering!
mode: single
- id: '161651'
alias: Plant Watering - Baby Jade Plant
description: ''
trigger:
- platform: time
at: '20:02:00'
condition:
- condition: numeric_state
entity_id: plant.baby_jade_plant
below: '6'
attribute: moisture
action:
- service: notify.mypushover
data:
message: 'The baby jade plant in the kitchen needs watering! '
title: Plant SOS
- service: notify.alexa_media
data:
data:
type: announce
target:
- media_player.living_room
- media_player.kitchen_echo
message: The baby jade plant in the kitchen needs watering!
mode: single
- id: '161652'
alias: Plant Watering - Madagascar dragon tree
description: ''
trigger:
- platform: time
at: '20:06:00'
condition:
- condition: numeric_state
entity_id: plant.tomatoes
below: '21'
attribute: moisture
action:
- service: notify.mypushover
data:
message: 'The madagascar dragon tree in the living room needs watering! '
title: Plant SOS
- service: notify.alexa_media
data:
data:
type: announce
target:
- media_player.living_room
- media_player.kitchen_echo
message: The madagascar dragon tree in the living room needs watering!
mode: single
- id: '1619339870051'
alias: Plant Watering - Strawberries
description: ''
trigger:
- platform: time
at: '20:08:00'
condition:
- condition: numeric_state
entity_id: plant.straberrys
below: 45
attribute: moisture
action:
- service: notify.mypushover
data:
message: The strawberries in the garden need watering!
title: Plant SOS
- service: notify.alexa_media
data:
data:
type: announce
target:
- media_player.living_room
- media_player.kitchen_echo
message: The strawberries in the garden need watering!
mode: single
Any help would be great
thanks
2 posts - 2 participants