nooie_pu13_smartplug.yaml 927 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: SmartPlug
  2. products:
  3. - id: eimdzrehi6a6vixn
  4. name: Nooie PU13
  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: lock
  28. translation_key: child_lock
  29. category: config
  30. dps:
  31. - id: 41
  32. type: boolean
  33. name: lock
  34. - entity: select
  35. name: "Power on state"
  36. icon: "mdi:toggle-switch"
  37. category: config
  38. dps:
  39. - id: 39
  40. type: string
  41. name: option
  42. mapping:
  43. - dps_val: 1
  44. value: "On"
  45. - dps_val: 0
  46. value: "Off"
  47. - dps_val: 2
  48. value: "Last state"