carro_pn04f02d_fan_light.yaml 933 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: Ceiling fan
  2. products:
  3. - id: 6ahfblexspuaem65
  4. name: Carro PN-04F02D
  5. primary_entity:
  6. entity: light
  7. dps:
  8. - id: 20
  9. type: boolean
  10. name: switch
  11. - id: 21
  12. type: string
  13. # Shows in the instruction set with standard white/colour/scene/music
  14. # properties but this is a dimming switch and doesn't have color/scene dps
  15. name: work_mode
  16. optional: true
  17. - id: 22
  18. name: brightness
  19. type: integer
  20. range:
  21. min: 10
  22. max: 1000
  23. mapping:
  24. - scale: 3.92
  25. - id: 28
  26. type: string
  27. name: control_data
  28. optional: true
  29. secondary_entities:
  30. - entity: fan
  31. dps:
  32. - id: 60
  33. type: boolean
  34. name: switch
  35. - id: 62
  36. type: integer
  37. name: speed
  38. mapping:
  39. - dps_val: 1
  40. value: 33
  41. - dps_val: 2
  42. value: 66
  43. - dps_val: 3
  44. value: 100