paulmorley

Untitled

Oct 14th, 2018
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. output:
  2. - platform: ledc
  3. pin: 18
  4. id: gpio_18
  5. frequency: 1000
  6.  
  7. - platform: ledc
  8. pin: 19
  9. id: gpio_19
  10. frequency: 1000
  11.  
  12. light:
  13. - platform: monochromatic
  14. name: "Kitchen Lights"
  15. output: gpio_18
  16. default_transition_length: 1.5s
  17.  
  18. - platform: monochromatic
  19. name: "Kitchen Lights2"
  20. output: gpio_19
  21.  
  22. esp32_touch:
  23. setup_mode: False
  24.  
  25. binary_sensor:
  26. - platform: esp32_touch
  27. name: "ESP32 Touch Pad GPIO27"
  28. pin: 27
  29. threshold: 1001
  30. on_click:
  31. min_length: 50ms
  32. max_length: 350ms
  33. then:
  34. - switch.toggle:
  35. id: gpio_18
RAW Paste Data