Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- output:
- - platform: ledc
- pin: 18
- id: gpio_18
- frequency: 1000
- - platform: ledc
- pin: 19
- id: gpio_19
- frequency: 1000
- light:
- - platform: monochromatic
- name: "Kitchen Lights"
- output: gpio_18
- default_transition_length: 1.5s
- - platform: monochromatic
- name: "Kitchen Lights2"
- output: gpio_19
- esp32_touch:
- setup_mode: False
- binary_sensor:
- - platform: esp32_touch
- name: "ESP32 Touch Pad GPIO27"
- pin: 27
- threshold: 1001
- on_click:
- min_length: 50ms
- max_length: 350ms
- then:
- - switch.toggle:
- id: gpio_18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement