Files
esphome/tests/component_tests/api/test_homeassistant_fields.yaml
T

30 lines
617 B
YAML

esphome:
name: test
on_boot:
then:
- homeassistant.action:
action: notify.notify
data:
message: Booted
- homeassistant.action:
action: notify.notify
data:
message: Booted
- homeassistant.event:
event: esphome.booted
data:
message: !lambda 'static int n = 0; return ++n;'
- homeassistant.event:
event: esphome.booted
data:
message: !lambda 'static int n = 0; return ++n;'
esp8266:
board: esp01_1m
wifi:
ssid: SomeNetwork
password: SomePassword
api: