mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
parent
f724d47094
commit
7dd8fd2f18
@ -197,7 +197,7 @@ Additionally, you can also transmit data from Home Assistant to ESPHome with thi
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: !lambda 'return my_brightness;'
|
||||
my_effect: !lambda 'return my_effect;'
|
||||
effect: !lambda 'return my_effect;'
|
||||
|
||||
Using the ``variables`` key you can tell ESPHome which variables to expect from Home Assistant.
|
||||
For example the service seen above would be executed with something like this:
|
||||
|
Loading…
Reference in New Issue
Block a user