threedy icon indicating copy to clipboard operation
threedy copied to clipboard

Not able to configure...e is undefined

Open sambeetm opened this issue 2 years ago • 7 comments

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

sambeetm avatar Jan 28 '22 20:01 sambeetm

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

muslimsteel avatar Feb 10 '22 22:02 muslimsteel

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

nickwilkie avatar Jun 23 '22 16:06 nickwilkie

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.

Mavi222 avatar Jul 01 '22 15:07 Mavi222

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.

siparker avatar Jul 26 '22 10:07 siparker

Same here.

codeclinic avatar Sep 25 '22 13:09 codeclinic

Refer to my comment in another issue for a solution: https://github.com/dangreco/threedy/issues/47#issuecomment-1311958802

victorigualada avatar Nov 11 '22 17:11 victorigualada

@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

e11en avatar Mar 14 '23 21:03 e11en