cbi_astute_outdoor_smartswitch.yaml 1.8 KB

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