Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not a valid value for dictionary value @ data['entity_id'] #1

Open
kaschperle8324 opened this issue Sep 3, 2024 · 4 comments
Open

Comments

@kaschperle8324
Copy link

kaschperle8324 commented Sep 3, 2024

I have the following problem if i start the Automation:

Ausgeführt: 3. September 2024 um 08:45:18 Fehler: not a valid value for dictionary value @ data['entity_id'] Ergebnis: params: domain: script service: logfile_entry service_data: notification_service: notify.bad_heizung_log logfile_title: Heating X2 message_preamble: Bad Heating Control message_body: '---' target: {} running_script: true child_id: domain: script item_id: logfile_entry run_id: d23b49f51bc54aee6395b0e5efeb6869

data: notification_service: notify.bad_heizung_log logfile_title: Heating X2 message_preamble: '{{ log_message_preamble }}' message_body: '---' action: script.logfile_entry

@kaschperle8324
Copy link
Author

Hallo, i find the solution fpr me. you have to put in the logfile in the blueprint. Without it doesnt work.

@AndySymons
Copy link
Owner

Sorry about that. I always use log files, so have not tested it recently without. Noted as a bug. I will look into this.

@AndySymons
Copy link
Owner

AndySymons commented Sep 23, 2024

I have now fixed the problem by modifying the logfile_entry.yaml script.I have moved the script to a new Logging repository because it has wider application than just HEATHER. You can re-install the script from its new location. Then a blank logging service field will cause no logging (and no error).

@kaschperle8324
Copy link
Author

Thanks, now its working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants