mayborn_groclock.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. name: Alarm clock
  2. products:
  3. - id: pnauiuyatd821djd
  4. name: Mayborn GroClock Connect
  5. primary_entity:
  6. entity: siren
  7. name: Music
  8. icon: "mdi:music"
  9. dps:
  10. - id: 103
  11. type: boolean
  12. name: switch
  13. - id: 104
  14. type: string
  15. name: tone
  16. mapping:
  17. - dps_val: "0"
  18. value: Track 1
  19. - dps_val: "1"
  20. value: Track 2
  21. - dps_val: "2"
  22. value: Track 3
  23. - dps_val: "3"
  24. value: Track 4
  25. - dps_val: "4"
  26. value: Track 5
  27. - dps_val: "5"
  28. value: Track 6
  29. - dps_val: "6"
  30. value: Track 7
  31. - dps_val: "7"
  32. value: Track 8
  33. - dps_val: "8"
  34. value: Track 9
  35. - dps_val: "9"
  36. value: Track 10
  37. - id: 105
  38. type: integer
  39. name: volume_level
  40. range:
  41. min: 0
  42. max: 16
  43. mapping:
  44. - scale: 16
  45. - id: 107
  46. type: integer
  47. name: duration
  48. range:
  49. min: 1
  50. max: 120
  51. - id: 108
  52. type: string
  53. optional: true
  54. name: wake_alarm
  55. - id: 109
  56. type: string
  57. optional: true
  58. name: nap_alarm
  59. - id: 110
  60. type: string
  61. optional: true
  62. name: sleep_alarm
  63. - id: 111
  64. type: string
  65. optional: true
  66. name: time_set
  67. - id: 114
  68. type: string
  69. optional: true
  70. name: snooze
  71. secondary_entities:
  72. - entity: select
  73. name: Alarm mode
  74. icon: "mdi:alarm"
  75. category: config
  76. dps:
  77. - id: 101
  78. type: string
  79. name: option
  80. mapping:
  81. - dps_val: awake
  82. value: Wake up
  83. - dps_val: nap
  84. value: Nap
  85. - dps_val: asleep
  86. value: Sleep
  87. - entity: select
  88. name: Music playback
  89. icon: "mdi:music"
  90. category: config
  91. dps:
  92. - id: 106
  93. type: string
  94. name: option
  95. mapping:
  96. - dps_val: "0"
  97. value: Repeat
  98. icon: "mdi:repeat"
  99. - dps_val: "1"
  100. value: Normal
  101. - dps_val: "2"
  102. value: Random
  103. icon: "mdi:shuffle"
  104. - entity: switch
  105. name: Auto time sync
  106. icon: "mdi:clock"
  107. category: config
  108. dps:
  109. - id: 112
  110. type: boolean
  111. name: switch
  112. - entity: select
  113. name: Time format
  114. category: config
  115. dps:
  116. - id: 113
  117. type: string
  118. name: option
  119. mapping:
  120. - dps_val: "12"
  121. value: "12 hour"
  122. icon: "mdi:hours-12"
  123. - dps_val: "24"
  124. value: "24 hour"
  125. icon: "mdi:hours-24"
  126. - entity: lock
  127. translation_key: child_lock
  128. category: config
  129. dps:
  130. - id: 115
  131. type: boolean
  132. name: lock
  133. - entity: switch
  134. translation_key: sleep
  135. dps:
  136. - id: 116
  137. type: boolean
  138. name: switch