Add esphome.xxxxx_play_rtttl back to core

Solves #1262
This commit is contained in:
Edward Firmo
2023-11-14 07:26:34 +01:00
parent bf96235054
commit 84edfcb8ea
3 changed files with 16 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
substitutions:
##### DON'T CHANGE THIS #####
version: "4.1"
version: "4.1.1"
#############################
##### ESPHOME CONFIGURATION #####
@@ -172,6 +172,15 @@ api:
then:
- lambda: set_component_color->execute(component, foreground, background);
##### Service to play a rtttl tones #####
# Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
- service: play_rtttl
variables:
song_str: string
then:
- rtttl.play:
rtttl: !lambda 'return song_str;'
#### Service to populate the alarm settings page #####
- service: alarm_settings
variables: