#actions tap-action change and documentation not up2date ?

1 messages · Page 1 of 1 (latest)

strange condor
#

i'm using 2026.1.3, and now, my previous tap_action are not working anymore:
Previous code (it"s not working anymore):

action: perform-action
target:
  entity_id: cover.demo
perform_action: cover.close_cover

error i get : Échec de l'exécution de l'action cover/open_cover. must contain at least one of entity_id, device_id, area_id, floor_id, label_id.

New code need to use :

action: perform-action
data:
  entity_id: cover.demo
perform_action: cover.close_cover

It's really strange as also the documentation is speaking about target & not data :
https://www.home-assistant.io/dashboards/actions/#tap-action

Home Assistant

Define what an object does when interacted with.

ripe briar
#

Why does your code say cover.close_cover but the error says input_boolean/turn_on

strange condor
# ripe briar Why does your code say cover.close_cover but the error says `input_boolean/turn_...

sorry copy/paste issue, my original issue was an a bubble-card, and i've extracted the tap_action on a entities to test it and made this typo and the issue is real :

Échec de l'exécution de l'action cover/open_cover. must contain at least one of entity_id, device_id, area_id, floor_id, label_id.

But it's not really a issue on automation, but i've not found a better place to report it.

ripe briar
#

This works fine for me btw:

show_name: true
show_icon: true
type: button
entity: cover.garage_door
tap_action:
  action: perform-action
  target:
    entity_id: cover.garage_door
  perform_action: cover.close_cover
strange condor
ripe briar
#

I would initially suspect some custom something you have installed.