diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 7e78e51..4eea04b 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -40,8 +40,8 @@ Since in this update lots of input to the blueprint changed, we highly recommend 2. The following components are now deprecated: - Buttons: - Exit reparse (`button.xxxxx_exit_reparse`) - It shouldn't be necessary with the new TFT upload engine - - Services: - - Play rtttl (`esphome.xxxxx_play_rtttl`) + - ~~Services:~~ + - ~~Play rtttl (`esphome.xxxxx_play_rtttl`)~~ - Sensors: - API uptime - Device uptime @@ -85,6 +85,10 @@ packages: 5. Font size for chips 6. Short click to open Climate and Media Player +- 4.1.1 patch: + - Service `esphome.xxxxx_play_rtttl` is back to core package + +   ## Details of noteworthy changes diff --git a/nspanel_esphome_advanced.yaml b/nspanel_esphome_advanced.yaml index 10d1336..dfb2e06 100644 --- a/nspanel_esphome_advanced.yaml +++ b/nspanel_esphome_advanced.yaml @@ -7,17 +7,6 @@ ##### ATTENTION: This will add advanced elements to the core system and requires the core part. ##### ##################################################################################################### -api: - services: - ##### 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;' - button: ##### EXIT REPARSE TFT DISPLAY ##### - name: ${device_name} Exit reparse diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml index a5bf7ae..9f89019 100644 --- a/nspanel_esphome_core.yaml +++ b/nspanel_esphome_core.yaml @@ -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: