mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-07-02 09:16:04 +02:00
Edit mcu-apollo-dev.yaml
This commit is contained in:
@@ -20,6 +20,16 @@ esp32:
|
|||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|
||||||
|
api:
|
||||||
|
# https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h
|
||||||
|
services:
|
||||||
|
- service: play_rtttl
|
||||||
|
variables:
|
||||||
|
song: string
|
||||||
|
then:
|
||||||
|
- rtttl.play:
|
||||||
|
rtttl: !lambda 'return song;'
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: accessory_power
|
id: accessory_power
|
||||||
|
|||||||
Reference in New Issue
Block a user