Hi all, I noticed recently that automation action no longer use “service” type. I have several old automations where I used service call instead action call. They are all working but i would like to ask if in the future service calling will be obsolete…
- alias: 'Alarm Fabri DisArm'
trigger:
- platform: state # tasmota
entity_id: binary_sensor.rolling_b4
to: 'on'
for: "00:00:01"
- entity_id: sensor.telecomando_allarme_gio_action
platform: state
to: disarm
action:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.allarme_fabri
- service: media_player.volume_set
data_template:
entity_id: media_player.google_home_cucina
volume_level: 0.5
- service: tts.google_translate_say
entity_id: media_player.google_home_cucina
data_template:
message: "Allarme Fabrizio disattivato"
language: 'it'
cache: false