I have issues with telegram scripts and with configuration saying key not provided even thought there isn’t any problem with function after reboot. One of the issues is got to do with script I trying to test for my telegram bots. I keep seeing the require key error since hassio 80 but never really bothered me, I have search around I have tried all the possible work around apart from reinstall.
Current Hassio Version: 0.81.0
Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 266). Please check the docs at https://home-assistant.io/components/automation/ Invalid config for [script]: [flash_lights] is an invalid option for [script]. Check: script->script->script->flash_lights. (See /config/configuration.yaml, line 268). Please check the docs at https://home-assistant.io/components/script/
script:
flash_lights:
alias: Flash Lights
sequence:
- service: homeassistant.turn_on
data:
entity_id:
- light.bedroom_light
- delay:
seconds: 1
- service: homeassistant.turn_off
data:
entity_id:
- light.bedroom_light
- service: script.turn_on
data:
entity_id: script.light_loop
light_loop:
alias: Light flash loop
sequence:
- delay:
seconds: 1
- service: script.turn_on
data:
entity_id: script.flash_lights
light_loop_kill:
alias: Kill flashing lights
sequence:
service: script.turn_off
data:
entity_id: script.light_loop
test_telegram:
alias: test_telegram
sequence:
service: notify.telegram
data:
title: Test Message
message: 'This is a test message from Home Assistant'