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:
randyandClaude Sonnet 5 committed 2026-09-25 21:24:36 +02:00
1 parent 468e813958
commit 56db2c2087
15 files changed
+134 -134

No files matched your search

+10 -10
View File
@@ -44,15 +44,15 @@ binary_sensor:
- min_length: 50ms
max_length: 350ms
then:
- homeassistant.service:
service: light.toggle
- homeassistant.action:
action: light.toggle
data:
entity_id: light.mcu_basement_2_light
- min_length: 351ms
max_length: 1000ms
then:
- homeassistant.service:
service: light.toggle
- homeassistant.action:
action: light.toggle
data:
entity_id: light.exercise_room
- min_length: 1001ms
@@ -62,12 +62,12 @@ binary_sensor:
# service: light.turn_off
# data:
# entity_id: light.basement_light
- homeassistant.service:
service: light.turn_off
- homeassistant.action:
action: light.turn_off
data:
entity_id: light.exercise_room
- homeassistant.service:
service: light.turn_off
- homeassistant.action:
action: light.turn_off
data:
entity_id: light.exercise_room_fan
- platform: gpio
@@ -88,8 +88,8 @@ binary_sensor:
filters:
invert:
on_press:
- homeassistant.service:
service: light.turn_on
- homeassistant.action:
action: light.turn_on
data:
entity_id: light.mcu_basement_2_light