3lvl0

Scripts > Xiaomi Gateway Sounds

Aug 26th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.00 KB | None | 0 0
  1. # Stop Ringtone
  2. xiaomi_gateway_ringtone_stop:
  3.   alias: Xiaomi Gateway Ringtone Stop
  4.   sequence:
  5.     - service: xiaomi_aqara.stop_ringtone
  6. # Ringtone 0 - Police Car 1
  7. xiaomi_gateway_ringtone_0:
  8.   alias: Xiaomi Gateway Ringtone 0 Police Car 1
  9.   sequence:
  10.     - service: xiaomi_aqara.play_ringtone
  11.       data:
  12.         ringtone_id: 0
  13.         ringtone_vol: 0
  14. # Ringtone 1 - Police Car 2
  15. xiaomi_gateway_ringtone_1:
  16.   alias: Xiaomi Gateway Ringtone 1 Police Car 2
  17.   sequence:
  18.     - service: xiaomi_aqara.play_ringtone
  19.       data:
  20.         ringtone_id: 1
  21.         ringtone_vol: 1
  22. # Ringtone 2 - Accident
  23. xiaomi_gateway_ringtone_2:
  24.   alias: Xiaomi Gateway Ringtone 2 Accident
  25.   sequence:
  26.     - service: xiaomi_aqara.play_ringtone
  27.       data:
  28.         ringtone_id: 2
  29.         ringtone_vol: 2
  30. # Ringtone 3 - Countdown
  31. xiaomi_gateway_ringtone_3:
  32.   alias: Xiaomi Gateway Ringtone 3 Countdown
  33.   sequence:
  34.     - service: xiaomi_aqara.play_ringtone
  35.       data:
  36.         ringtone_id: 3
  37.         ringtone_vol: 3
  38. # Ringtone 4 - Ghost
  39. xiaomi_gateway_ringtone_4:
  40.   alias: Xiaomi Gateway Ringtone 4 Ghost
  41.   sequence:
  42.     - service: xiaomi_aqara.play_ringtone
  43.       data:
  44.         ringtone_id: 4
  45.         ringtone_vol: 4
  46. # Ringtone 5 - Sniper Rifle
  47. xiaomi_gateway_ringtone_5:
  48.   alias: Xiaomi Gateway Ringtone 5 Sniper Rifle
  49.   sequence:
  50.     - service: xiaomi_aqara.play_ringtone
  51.       data:
  52.         ringtone_id: 5
  53.         ringtone_vol: 5
  54. # Ringtone 6 - Battle
  55. xiaomi_gateway_ringtone_6:
  56.   alias: Xiaomi Gateway Ringtone 6 Battle
  57.   sequence:
  58.     - service: xiaomi_aqara.play_ringtone
  59.       data:
  60.         ringtone_id: 6
  61.         ringtone_vol: 6
  62. # Ringtone 7 - Air Raid
  63. xiaomi_gateway_ringtone_7:
  64.   alias: Xiaomi Gateway Ringtone 7 Air Raid
  65.   sequence:
  66.     - service: xiaomi_aqara.play_ringtone
  67.       data:
  68.         ringtone_id: 7
  69.         ringtone_vol: 7.
  70. # Ringtone 8 - Dog Bark
  71. xiaomi_gateway_ringtone_8:
  72.   alias: Xiaomi Gateway Ringtone 8 Dog Bark
  73.   sequence:
  74.     - service: xiaomi_aqara.play_ringtone
  75.       data:
  76.         ringtone_id: 8
  77.         ringtone_vol: 8
  78. # Ringtone 10 - Doorbell
  79. xiaomi_gateway_ringtone_10:
  80.   alias: Xiaomi Gateway Ringtone 10 Doorbell
  81.   sequence:
  82.     - service: xiaomi_aqara.play_ringtone
  83.       data:
  84.         ringtone_id: 10
  85.         ringtone_vol: 10
  86. # Ringtone 11 - Knock
  87. xiaomi_gateway_ringtone_11:
  88.   alias: Xiaomi Gateway Ringtone 11 Knock
  89.   sequence:
  90.     - service: xiaomi_aqara.play_ringtone
  91.       data:
  92.         ringtone_id: 11
  93.         ringtone_vol: 11
  94. # Ringtone 12 - Amuse
  95. xiaomi_gateway_ringtone_12:
  96.   alias: Xiaomi Gateway Ringtone 12 Amuse
  97.   sequence:
  98.     - service: xiaomi_aqara.play_ringtone
  99.       data:
  100.         ringtone_id: 12
  101.         ringtone_vol: 12
  102. # Ringtone 13 - Alarm Clock
  103. xiaomi_gateway_ringtone_13:
  104.   alias: Xiaomi Gateway Ringtone 13 Alarm Clock
  105.   sequence:
  106.     - service: xiaomi_aqara.play_ringtone
  107.       data:
  108.         ringtone_id: 13
  109.         ringtone_vol: 13
  110.        
  111. # Per docs, Custom ringtones (uploaded by the Mi Home app) starting from 10001
Add Comment
Please, Sign In to add comment