paulmorley

Untitled

Oct 14th, 2018
98
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. light:
  12. - platform: monochromatic
  13. name: "Kitchen Lights"
  14. output: gpio_18
  15. default_transition_length: 1.5s
  16. id: mono18
  17.  
  18. - platform: monochromatic
  19. name: "Kitchen Lights2"
  20. output: gpio_19
  21. id: mono19
  22.  
  23. esp32_touch:
  24. setup_mode: False
  25.  
  26. binary_sensor:
  27. - platform: esp32_touch
  28. name: "ESP32 Touch Pad GPIO27"
  29. pin: 27
  30. threshold: 1000
  31. on_click:
  32. min_length: 50ms
  33. max_length: 350ms
  34. then:
  35. - light.toggle:
  36. id: mono19
RAW Paste Data