cbi_astute_outdoor_smartswitch.yaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. name: Astute smart controller
  2. products:
  3. - id: xzgtyrqbab8lm2zo
  4. name: CBI ASC switch
  5. primary_entity:
  6. entity: switch
  7. class: switch
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. secondary_entities:
  13. - entity: number
  14. category: config
  15. translation_key: timer
  16. dps:
  17. - id: 7
  18. type: integer
  19. name: value
  20. unit: min
  21. range:
  22. min: 0
  23. max: 86400
  24. mapping:
  25. - scale: 60
  26. step: 60
  27. - entity: select
  28. category: config
  29. name: Initial state
  30. icon: "mdi:toggle-switch"
  31. dps:
  32. - id: 14
  33. type: string
  34. name: option
  35. mapping:
  36. - dps_val: "on"
  37. value: "On"
  38. - dps_val: "off"
  39. value: "Off"
  40. - dps_val: "memory"
  41. value: "Last State"
  42. - entity: sensor
  43. category: diagnostic
  44. class: energy
  45. dps:
  46. - id: 20
  47. name: sensor
  48. type: integer
  49. unit: Wh
  50. class: total_increasing
  51. force: true
  52. optional: true
  53. - entity: sensor
  54. category: diagnostic
  55. class: current
  56. dps:
  57. - id: 21
  58. name: sensor
  59. type: integer
  60. class: measurement
  61. force: true
  62. unit: mA
  63. - entity: sensor
  64. category: diagnostic
  65. class: power
  66. dps:
  67. - id: 23
  68. name: sensor
  69. type: integer
  70. class: measurement
  71. force: true
  72. unit: W
  73. range:
  74. min: 0
  75. max: 50000
  76. mapping:
  77. - scale: 10
  78. - entity: sensor
  79. category: diagnostic
  80. class: voltage
  81. dps:
  82. - id: 22
  83. name: sensor
  84. type: integer
  85. class: measurement
  86. force: true
  87. unit: V
  88. range:
  89. min: 0
  90. max: 5000
  91. mapping:
  92. - scale: 10