mayborn_groclock.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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: Music playback
  74. icon: "mdi:music"
  75. category: config
  76. dps:
  77. - id: 106
  78. type: string
  79. name: option
  80. mapping:
  81. - dps_val: "0"
  82. value: Repeat
  83. icon: "mdi:repeat"
  84. - dps_val: "1"
  85. value: Normal
  86. - dps_val: "2"
  87. value: Random
  88. icon: "mdi:shuffle"
  89. - entity: switch
  90. name: Auto time sync
  91. icon: "mdi:clock"
  92. category: config
  93. dps:
  94. - id: 112
  95. type: boolean
  96. name: switch
  97. - entity: select
  98. name: Time format
  99. category: config
  100. dps:
  101. - id: 113
  102. type: string
  103. name: option
  104. mapping:
  105. - dps_val: "12"
  106. value: "12 hour"
  107. icon: "mdi:hours-12"
  108. - dps_val: "24"
  109. value: "24 hour"
  110. icon: "mdi:hours-24"
  111. - entity: lock
  112. translation_key: child_lock
  113. category: config
  114. dps:
  115. - id: 115
  116. type: boolean
  117. name: lock
  118. - entity: switch
  119. translation_key: sleep
  120. dps:
  121. - id: 116
  122. type: boolean
  123. name: switch