dwainscheeren / dwains-dashboard-blueprints

Dwains Dashboard Blueprints
130 stars 163 forks source link

Values cannot be changed #67

Open Saentist opened 2 years ago

Saentist commented 2 years ago

After blueprint settings set and added to screen is not possible to be edited

Ex: Added speed test blueprint. set default time to 24h then decide to change from 24 to 72h

As result: changes not saved

also other blueprints have same situation. Once set, not possible to be changed.

Holewijn commented 2 years ago

You can edit the blueprint to edit it to you liking, we all run different setups, so you always have to edit the blueprint to make it work for yourself

Saentist commented 2 years ago

I think you don't understand me. We not talk about blueprint as code, we talk about of visualization created from them.

Attaching video to be more clear.

rec

As seen on video value "24" with is changed to "72" but not saved, with is seen on reopening of settings.

Holewijn commented 2 years ago

Can u check console log? and post it here.

Saentist commented 2 years ago

Only in logs see this.

Logger: frontend.js.latest.202205041
Source: components/system_log/__init__.py:190
First occurred: 16:02:00 ч. (4 occurrences)
Last logged: 16:05:40 ч.

http://192.168.1.54:8123/dwains_dashboard/js/dwains-dashboard.js?version=3.0.0:3139:813 Uncaught TypeError: Cannot assign to read only property '03_hours_to_show' of object '#<Object>'
http://192.168.1.54:8123/dwains_dashboard/js/dwains-dashboard.js?version=3.1.0:3713:846 Uncaught TypeError: Cannot assign to read only property '03_hours_to_show' of object '#<Object>'

Is there any other location for logs? I use OVA image of HA, so no acces to partition with docker's, if log is there.

Holewijn commented 2 years ago

Ok here is the deal, contact dwains about this on our Discord channel, we can help u there better. It seems that u have the same error as what i had when editing the pages. I also couldn't find it and was ready to make a clean install of HA, so that did work out for me, it has something to do with cache of HA itself i think.

Saentist commented 2 years ago

I realy dont like this kids SN will write there. Let's see.

LordNex commented 2 years ago

I think I have a similar issue so I'll post here instead of making another post.

My server currently doesn't display its CPU temp in HA. It's a VM running in VMWare ESXi 7 so normally that stuff is not passed on. I was successful in editing the blueprint to use the correct NIC names I have but when I switch the processor speed to a sensor I have for a temp in my rack, it will show up properly in the preview. But after I submit it and it is actually in the dashboard, it gives me an entity not found and lists the processor temp senor I replaced in the code. Any way to fix this or point that field to a different value?

LordNex commented 2 years ago

Never mind, after a reboot it started displaying correctly. It would be nice to have a toggle to remove administrative functions. But maybe that's better left to a different kind of page. I like the quick admin, but its too easy to accidentally reboot home assistant or for an guest playing around with the system.

Holewijn commented 2 years ago

Never mind, after a reboot it started displaying correctly. It would be nice to have a toggle to remove administrative functions. But maybe that's better left to a different kind of page. I like the quick admin, but its too easy to accidentally reboot home assistant or for an guest playing around with the system.

If i'm right he made an update the the monitor page, so its locked now.