jh_pcpro+.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. name: PC power switch
  2. products:
  3. - id: rtbhfbuii82scjrp
  4. model: JH-PC Pro
  5. entities:
  6. - entity: switch
  7. class: outlet
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - entity: button
  13. name: Reset
  14. class: restart
  15. dps:
  16. - id: 101
  17. name: button
  18. type: string
  19. mapping:
  20. - dps_val: Reset
  21. value: true
  22. - entity: button
  23. name: Force reset
  24. icon: mdi:restart-alert
  25. dps:
  26. - id: 101
  27. name: button
  28. type: string
  29. mapping:
  30. - dps_val: forceReset
  31. value: true
  32. - entity: switch
  33. name: RF pairing
  34. category: config
  35. dps:
  36. - id: 7
  37. type: boolean
  38. name: switch
  39. - entity: switch
  40. name: Buzzer
  41. category: config
  42. dps:
  43. - id: 8
  44. type: boolean
  45. name: switch
  46. - entity: select
  47. translation_key: initial_state
  48. category: config
  49. dps:
  50. - id: 38
  51. type: string
  52. name: option
  53. mapping:
  54. - dps_val: "on"
  55. value: "on"
  56. - dps_val: "off"
  57. value: "off"
  58. - entity: lock
  59. translation_key: child_lock
  60. category: config
  61. dps:
  62. - id: 40
  63. type: boolean
  64. name: lock
  65. - entity: switch
  66. name: RF remote control
  67. icon: mdi:remote
  68. category: config
  69. dps:
  70. - id: 102
  71. type: string
  72. name: switch
  73. mapping:
  74. - dps_val: "on"
  75. value: true
  76. - dps_val: "off"
  77. value: false