MelleD / lovelace-expander-card

Expander card for HomeAssistant
Apache License 2.0
56 stars 6 forks source link

Card Was Created Without Expected Prop 'hass' #198

Closed thomasmaxson closed 2 months ago

thomasmaxson commented 2 months ago

I have been getting the following JavaScript warning with the Expander Card addon. Simply load the page, and the following warning shows within the browser console. Is anyone else receiving this?

<expander-sub-card> was created without expected prop 'hass'
(anonymous) @ expander-card.js?hacstag=677140532162:1
MelleD commented 2 months ago

Yes this line is the issue https://github.com/MelleD/lovelace-expander-card/blob/main/src/Card.svelte#L48

https://stackoverflow.com/questions/58571604/componentname-was-created-without-expected-prop-segment

I think there is a missing export before loading

thomasmaxson commented 2 months ago

Thank you for the quick fix. Much appreciated!

github-actions[bot] commented 2 months ago

Release 1.6.3 addresses this.