mayborn_groclock.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. name: Alarm clock
  2. products:
  3. - id: pnauiuyatd821djd
  4. manufacturer: Mayborn
  5. model: GroClock Connect
  6. entities:
  7. - entity: siren
  8. name: Music
  9. icon: "mdi:music"
  10. dps:
  11. - id: 103
  12. type: boolean
  13. name: switch
  14. - id: 104
  15. type: string
  16. name: tone
  17. mapping:
  18. - dps_val: "0"
  19. value: Track 1
  20. - dps_val: "1"
  21. value: Track 2
  22. - dps_val: "2"
  23. value: Track 3
  24. - dps_val: "3"
  25. value: Track 4
  26. - dps_val: "4"
  27. value: Track 5
  28. - dps_val: "5"
  29. value: Track 6
  30. - dps_val: "6"
  31. value: Track 7
  32. - dps_val: "7"
  33. value: Track 8
  34. - dps_val: "8"
  35. value: Track 9
  36. - dps_val: "9"
  37. value: Track 10
  38. - id: 105
  39. type: integer
  40. name: volume_level
  41. range:
  42. min: 0
  43. max: 16
  44. mapping:
  45. - scale: 16
  46. - id: 107
  47. type: integer
  48. name: duration
  49. range:
  50. min: 1
  51. max: 120
  52. - id: 108
  53. type: string
  54. optional: true
  55. name: wake_alarm
  56. - id: 109
  57. type: string
  58. optional: true
  59. name: nap_alarm
  60. - id: 110
  61. type: string
  62. optional: true
  63. name: sleep_alarm
  64. - id: 111
  65. type: string
  66. optional: true
  67. name: time_set
  68. - id: 114
  69. type: string
  70. optional: true
  71. name: snooze
  72. - entity: select
  73. translation_key: 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