-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template Button #127
Comments
Can you tell me exactly how you made this switch? just created an object? I have a similar problem, described here #124 |
just defining a switch output should o the trick
|
I'm afraid it won't work in my case. Because I have code running on button click and I can't bind it to gpio. Maybe you can make a "switch" that will execute the code from my config? |
just put ig o a fake gpis or pin ?
|
I use lambda
When I try to change to switch, the firmware does not compile, an error is thrown:
whole config:
|
somewhere you have a duplicate entry for switch |
Hi,
um zu ermöglichen, dass man ein ESPHome Script auf einem ESP antriggern kann (der vermutlich häufigste Anwendungsfall?) würde sich die Integration eines Template Buttons anbieten.
Mein Beispielscript:
Mein Log bei Erkennen des ESP:
The text was updated successfully, but these errors were encountered: