Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Not able to configure...e is undefined #48

Open
sambeetm opened this issue Jan 28, 2022 · 7 comments
Open

Not able to configure...e is undefined #48

sambeetm opened this issue Jan 28, 2022 · 7 comments

Comments

@sambeetm
Copy link

sambeetm commented Jan 28, 2022

I have HA supervised install.

After installation, it put the .js file in the following path
root@debian:/usr/share/hassio/homeassistant/www/community/threedy# ls
threedy-card.js threedy-card.js.gz

I copied the files back to following path
root@debian:/usr/share/hassio/homeassistant/www/hacsfiles/threedy# ls
threedy-card.js threedy-card.js.gz

Still getting the error.

2022-01-28 14:57:58 ERROR (MainThread) [frontend.js.latest.202112291] http://192.168.1.66:8123/hacsfiles/threedy/threedy-card.js?hacstag=33288368520211125:2:602711 TypeError: e is undefined
2022-01-28 14:57:58 ERROR (MainThread) [frontend.js.latest.202112291] http://192.168.1.66:8123/hacsfiles/threedy/threedy-card.js?hacstag=33288368520211125:2:602711 TypeError: e is undefined
2022-01-28 14:57:58 ERROR (MainThread) [frontend.js.latest.202112291] http://192.168.1.66:8123/hacsfiles/threedy/threedy-card.js?hacstag=33288368520211125:2:602711 TypeError: e is undefined
2022-01-28 14:57:58 ERROR (MainThread) [frontend.js.latest.202112291] http://192.168.1.66:8123/hacsfiles/threedy/threedy-card.js?hacstag=33288368520211125:2:602711 TypeError: e is undefined

@muslimsteel
Copy link

I am also getting this error and it does not display anything in the UI

@nickwilkie
Copy link

I get this error when I try to use the card with any monitored property that has a time, like ETA or Remaining. Temperatures seem to work fine

@Mavi222
Copy link

Mavi222 commented Jul 1, 2022

I've got the same problem, and as nick said, if I check anything with time (time remaining/elapsed/ETA), it doesn't work and says an error, but when I uncheck those, it shows the plugin again.

@siparker
Copy link

I also have the same issue. This originally caused the page to disappear for me when editing. that was on HA version 2021.11.5
i updated to 2022.7.6 and i now see an error instead of a blank page.
One note i am not sure if it matters. in the docs for manual card config it says base_entity — Take the beginning of one of the OctoPrint sensors of your printer. Example: for sensor.ender_3_v2_current_state it would be sensor_ender_3_v2.

However the setup doesnt do this. for me it just has base_entity: sensor.octoprint
not sure if that is relevant or not.

@codeclinic
Copy link

Same here.

@victorigualada
Copy link

victorigualada commented Nov 11, 2022

Refer to my comment in another issue for a solution:
#47 (comment)

@e11en
Copy link

e11en commented Mar 14, 2023

@codeclinic @siparker @Mavi222 @nickwilkie @muslimsteel @sambeetm I've created a fork of this repo and fixed some issues like the state undefined stuff, check it out here: https://github.com/e11en/ha-threedy-card

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants