nooie_pu13_smartplug.yaml 919 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. name: Nooie PU13 SmartPlug
  2. products:
  3. - id: eimdzrehi6a6vixn
  4. name: 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. name: Countdown
  15. category: config
  16. dps:
  17. - id: 9
  18. type: integer
  19. name: value
  20. unit: mins
  21. range:
  22. min: 0
  23. max: 86400
  24. mapping:
  25. - scale: 60
  26. step: 60
  27. - entity: lock
  28. name: "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"