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
@@ -114,8 +114,8 @@ script:
|
||||
# make use of the following service.
|
||||
api:
|
||||
reboot_timeout: 0s
|
||||
services:
|
||||
- service: activate_preset
|
||||
actions:
|
||||
- action: activate_preset
|
||||
variables:
|
||||
my_group: string
|
||||
my_preset: string
|
||||
@@ -279,8 +279,8 @@ sensor:
|
||||
lambda: |-
|
||||
return id(group_control);
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.turn_on
|
||||
- homeassistant.action:
|
||||
action: light.turn_on
|
||||
data:
|
||||
light_name: bedroom_lamp
|
||||
brightness: !lambda return x;
|
||||
|
||||
Reference in new issue
Block a user