# Notification Commands - The useful commands are for Android only.
# See this documentation for more information: https://companion.home-assistant.io/docs/notifications/notification-commands

# Pause YouTube
service: notify.mobile_app_marc_phone
data:
  message: command_media
  data:
    media_package_name: com.google.android.youtube
    media_command: pause
    
# Send Text-to-Speech message
service: notify.mobile_app_marc_phone
data:
  message: TTS
  data:
    tts_text: Oh no, you have a water leak at home!
    media_stream: alarm_stream

# Change Ringer Mode - Silent
service: notify.mobile_app_marc_phone
data:
  message: command_ringer_mode
  data:
    command: silent

# Set Do-Not-Disturb Mode
service: notify.mobile_app_marc_phone
data:
  message: command_dnd
  data:
    command: total_silence

# Send an Intent called "timer" to the Tasker App
service: notify.mobile_app_marc_phone
data:
  message: command_broadcast_intent
  data:
    intent_package_name: net.dinglisch.android.taskerm
    intent_action: timer
    intent_extras: duration_seconds:1200

# Update all sensors
service: notify.mobile_app_marc_phone
data:
  message: command_update_sensors

# High Accuracy Mode (GPS) - Turn off
service: notify.mobile_app_marc_phone
data:
  message: command_high_accuracy_mode
  data:
    command: turn_off