aderusha / HASwitchPlate

LCD touchscreen for Home Automation
MIT License
727 stars 128 forks source link

Error rendering data template: UndefinedError #142

Closed michelcmorel closed 3 years ago

michelcmorel commented 3 years ago

Hi there, After I run the core functionality blueprint the first time, save and run action. Each time i get: Error rendering data template: UndefinedError: None has no element 0 In the home assistant logs I get the following: 2021-04-28 00:48:41 ERROR (MainThread) [homeassistant.components.automation.hasp_core_functionality] HASP Core functionality: Choose at step 1: choice 1: Error executing script. Error for call_service at pos 8: Error rendering data template: UndefinedError: None has no element 0 2021-04-28 00:48:41 ERROR (MainThread) [homeassistant.components.automation.hasp_core_functionality] HASP Core functionality: Error executing script. Error for choose at pos 1: Error rendering data template: UndefinedError: None has no element 0 2021-04-28 00:48:41 ERROR (MainThread) [homeassistant.components.automation.hasp_core_functionality] Error while executing automation automation.hasp_core_functionality: Error rendering data template: UndefinedError: None has no element 0 Would anyone know if this is an issue with my setup or any pointers would be appreciated please? Thanks!

michelcmorel commented 3 years ago

I'll close this issue as it's related to haspone.