nooie_nsp21_smartplug.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. name: SmartPlug
  2. products:
  3. - id: e8dqdqxjgmilloml
  4. manufacturer: Nooie
  5. model: NSP21
  6. entities:
  7. - entity: switch
  8. class: outlet
  9. dps:
  10. - id: 1
  11. name: switch
  12. type: boolean
  13. - entity: number
  14. translation_key: timer
  15. category: config
  16. class: duration
  17. dps:
  18. - id: 9
  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. name: "Light Mode"
  30. icon: "mdi:television-ambient-light"
  31. category: config
  32. dps:
  33. - id: 40
  34. type: string
  35. name: option
  36. mapping:
  37. - dps_val: "relay"
  38. value: "State"
  39. - dps_val: "pos"
  40. value: "Position"
  41. - dps_val: "none"
  42. value: "Off"
  43. - entity: lock
  44. translation_key: child_lock
  45. category: config
  46. dps:
  47. - id: 41
  48. type: boolean
  49. name: lock
  50. - entity: select
  51. translation_key: initial_state
  52. category: config
  53. dps:
  54. - id: 38
  55. type: string
  56. name: option
  57. mapping:
  58. - dps_val: "on"
  59. value: "on"
  60. - dps_val: "off"
  61. value: "off"
  62. - dps_val: memory
  63. value: memory