nooie_nsp21_smartplug.yaml 1.2 KB

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