Hi!
Looking for suggestions on what might be wrong.
I have created the following Blueprint:
blueprint:
name: Speaker Announcement
description: Speak text to a Smart Speaker
domain: automation
input:
text_field:
name: Text Field
description: The text field that needs to de spoken
selector:
entity:
domain: input_text
media_player:
name: Output Device
description: The device on which the text should be spoken
selector:
target:
entity:
domain: media_player
trigger:
platform: state
entity_id: !input text_field
action:
- service: media_player.media_stop
target:
entity_id: !input media_player
- service: media_player.volume_set
target:
entity_id: !input media_player
data:
volume_level: '0.2'
- service: tts.google_translate_say
data_template:
entity_id: !input media_player
language: nl
message: 'Testberichtje'
- delay: 15
- service: input_text.set_value
target:
entity_id: !input text_field
data:
value: ''
From that Blueprint, I created an automation:
But when the automation is saved, I get the following error in the log:
Logger: homeassistant.components.automation
Source: components/automation/__init__.py:640
Integration: Automatisering (documentation, issues)
First occurred: 09:32:54 (6 occurrences)
Last logged: 11:24:20
Blueprint Text Announcement generated invalid automation with inputs OrderedDict([('text_field', 'input_text.tekst_zolder'), ('media_player', OrderedDict([('entity_id', 'media_player.speaker_zolder')]))]): not a valid value for dictionary value @ data['action'][0]['target']['entity_id']. Got None
Blueprint Speaker Announcement generated invalid automation with inputs OrderedDict([('text_field', 'input_text.tekst_zolder'), ('media_player', OrderedDict([('entity_id', 'media_player.speaker_zolder')]))]): not a valid value for dictionary value @ data['action'][0]['target']['entity_id']. Got None
Running HA 2022.3.1 in Container.
Any idea what might be wrong?