Hi,
Can someone help me ?
I’ve an automation rule running each time I just arrived at home.
This rule is pretty simple. It logs the entry in a slack channel and then I run some rest command delayed by 10 seconds. Each rest_command calls an url what launch a TTS on my voice system.
Is there any way to not launch rest_command on a condition ?
For example, rest_command.arrose_les_plantes says how many plants I’ve to feed. But, i don’t want to listen “you’ve 0 plant to feed” each time i’m arriving home.
My automation rules is :
automation 5:
alias: "l arriving Home"
trigger:
platform: state
entity_id: input_select.me_status_dropdown
to: 'Just Arrived'
action:
- service: notify.home
data_template:
message: >
je suis rentré à la maison.
- service: rest_command.me_in
- delay: 00:03:00
- service: rest_command.temperature
- delay: 00:00:10
- service: rest_command.temperature_ext
- delay: 00:00:10
- service: rest_command.arrose_les_plantes
# - delay: 00:00:10
# - service: rest_command.arrose
- delay: 00:00:10
- service: rest_command.meteodujour
- delay: 00:00:10
- service: rest_command.calendar
Thanks for your help…