Closed mhetzi closed 3 years ago
My Home Assistant version: 2021.4.6
Fold-entity-row version (FROM BROWSER CONSOLE): Error Version from HACS: 20.0.4 What I am doing:
What I expected to happen: trying to use it What happened instead:
Minimal steps to reproduce:
# The least ammount of code possible to reproduce my error entities: - entity: switch.kuche icon: 'mdi:television-classic' - automation.switch_tv_kuche_off - automation.switch_tv_kuche_on - entity: switch.kuche_nintendo_switch icon: 'mdi:nintendo-switch' - entity: switch.kuche_raspberry icon: 'mdi:raspberry-pi' - entity: switch.kuche_shield icon: 'mdi:google-chrome' - entity: input_boolean.kueche_play_switch icon: 'mdi:nintendo-switch' - type: 'custom:fold-entity-row' head: switch.stereo_anlage_off entities: - switch.stereo_anlage_aux state_color: true title: Fernseher Küche type: entities
Error messages from the browser console: fold-entity-row.js:42 Uncaught SyntaxError: Unexpected token 'export'
By putting an X in the boxes ([X]) below, I indicate that I:
Make sure the resource is imported as a Javascript Module in
Aah, thanks. That was my problem.
My Home Assistant version: 2021.4.6
Fold-entity-row version (FROM BROWSER CONSOLE): Error Version from HACS: 20.0.4 What I am doing:
What I expected to happen: trying to use it What happened instead:![image](https://user-images.githubusercontent.com/5149682/116007885-2bd60300-a612-11eb-9f2f-3a08c4c828d7.png)
Minimal steps to reproduce:
End of code
Error messages from the browser console: fold-entity-row.js:42 Uncaught SyntaxError: Unexpected token 'export'
By putting an X in the boxes ([X]) below, I indicate that I: