Editing Esphome example delay
Revision as of 22:04, 27 August 2023 by WikiSteve (talk | contribs) (Created page with "==delay== This example toggles the LED <i>when the physical button is pressed</i>, then 2 seconds later toggles it back.<br> The virtual button on the Home Assistant card is not effected. <nowiki># Physical Button on D1 (GPIO5) binary_sensor: - platform: gpio pin: number: D1 inverted: False mode: INPUT_PULLUP name: "Wemos Test Button" on_press: then: - switch.toggle: led - delay: 2s - switch.toggle: led</nowik...")
Warning: You are editing an out-of-date revision of this page.
If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Retrieved from "http://mann.ws/mediawiki/index.php/Esphome_example_delay"