1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00
Files
esphome/tests/components/sim800l/common.yaml
J. Nick Koston e8adcb539c common
2025-10-08 11:20:48 -10:00

32 lines
721 B
YAML

esphome:
on_boot:
then:
- sim800l.send_sms:
recipient: '+15551234567'
message: Hello there
- sim800l.dial:
recipient: '+15551234567'
- sim800l.connect
- sim800l.disconnect
- sim800l.send_ussd:
ussd: test_ussd
sim800l:
on_sms_received:
- lambda: |-
std::string str;
str = sender;
str = message;
- sim800l.send_sms:
message: hello you
recipient: "+1234"
- sim800l.dial:
recipient: "+1234"
on_incoming_call:
- logger.log:
format: "Incoming call from '%s'"
args: ["caller_id.c_str()"]
- sim800l.disconnect
on_ussd_received:
- logger.log: "ussd_received"