Hi all
I have set up the following blueprint, which, after clicking the Aqara smart button, triggers a number of optional actions.
https://github.com/loocd/home-assistant/blob/9499b975241158a29138017b1eaa19083dc7bcca/blueprints/AqaraButtonTrigger.yaml
I am experiencing issues with the play_media part of this.
Steps to reproduce:
- Open blueprint
- Select a trigger button
- Select a media player and media
- Save
Expected result: Automation gets saved and can be used
Actual result: Error message
Message malformed: Entity {{ mt_target }} is neither a valid entity ID nor a valid UUID for dictionary value @ data['action'][4]['then'][0]['choose'][0]['conditions'][0]['entity_id']
I noticed that the input selector media:
explained here is presenting the data in a different format than the actual play_media action explained here. See especially the disappearance of data
and target
.
Based on this I tried to follow the proper play_media action setup and just extract individual values from the input dictionary.
It seems that something isn’t working there.
Can you help me out? Or is there even a better way that doesn’t require to extract the values from the dictionary? It says here that this is no longer necessary, but I can’t figure out how to set this up properly.
Thank you for your support!!