When trying to add parse_mode to HTML, I get this error:
2021-04-21 09:11:06 ERROR (MainThread) [homeassistant.components.automation.xxxx] AUTO: Error executing script. Invalid data for call_service at pos 1: extra keys not allowed @ data[‘parse_mode’]
2021-04-21 09:11:06 ERROR (MainThread) [homeassistant.components.automation.xxxx] Error while executing automation automation.xxxx: extra keys not allowed @ data[‘parse_mode’]
This is the action code:
service: notify.telegram_not
data:
title: 'test.'
message: test
parse_mode: 'HTML'
data:
inline_keyboard:
- 'YES:/turnon'
If I remove the “parse_mode” it works perfectly.