I try to use the automation tools to insert 2 conditions for the triggering according to the following logic:
1 - If 6:00 AM, send a command to my cell phone and my tablet to deactivate the vibration mode
2 - If 9:00 PM, send a command to my cell phone and my tablet to activate the vibration mode
I managed to perform these 2 operations in separate automations. I want to group them in the same automation.
Do you have any suggestions? Thank you for your help!
I am include Yaml on second automation;
alias: Mute_cellulaire_tablette_MRO
description: ‘’
trigger:
- platform: time
at: ‘21:00:00’
condition: []
action: - service: notify.mobile_app_sm_g986w
data:
message: command_ringer_mode
title: vibrate - service: notify.mobile_app_sm_t970
data:
message: command_ringer_mode
title: vibrate
mode: single