mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Rename deprecated api services/service to actions/action
ESPHome renamed the api component's services/service keys to actions/action; update all devices using the old names. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
468e813958
commit
56db2c2087
15 files changed
+134
-134
No files matched your search
@@ -68,16 +68,16 @@ packages:
|
||||
api:
|
||||
homeassistant_services: true
|
||||
homeassistant_states: true
|
||||
services:
|
||||
actions:
|
||||
# https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h
|
||||
- service: play_rtttl
|
||||
- action: play_rtttl
|
||||
variables:
|
||||
song: string
|
||||
then:
|
||||
- rtttl.play:
|
||||
rtttl: !lambda 'return song;'
|
||||
|
||||
- service: notify
|
||||
- action: notify
|
||||
variables:
|
||||
heading: string
|
||||
message: string
|
||||
@@ -177,7 +177,7 @@ api:
|
||||
|
||||
# Service to send a command To show the screen of a specific like
|
||||
# interaction of the buttons are on implemented yet
|
||||
- service: notify_fullscreen
|
||||
- action: notify_fullscreen
|
||||
variables:
|
||||
title: string
|
||||
description: string
|
||||
|
||||
Reference in new issue
Block a user