dingusdk / ha-dukaone

HA integration for the Dukaone S6W ventilation heat exchanger
GNU General Public License v3.0
25 stars 10 forks source link

Polymer is not defined #11

Closed clavdal closed 6 months ago

clavdal commented 1 year ago

Hi Im getting this in my dashboard.

image

And see this log in my log files Logger: frontend.js.latest.202307051 Source: components/system_log/init.py:257 First occurred: 12 July 2023 at 18:58:07 (5 occurrences) Last logged: 09:19:06 • https://ha.domain.dk/hacsfiles/duka-control-entity-row/duka-control-entity-row.js:2:32 Uncaught ReferenceError: Polymer is not defined • http://ha.domain.dk:8123/hacsfiles/duka-control-entity-row/duka-control-entity-row.js:2:39 ReferenceError: Can't find variable: Polymer • https://ha.domain.dk/hacsfiles/duka-control-entity-row/duka-control-entity-row.js:2:39 ReferenceError: Can't find variable: Polymer

I have found this regarding the error Polymer and Lit are programming frameworks, making writing Javascript easier. Polymer was recently deprecated in HA. If a card still uses Polymer, it needs to be rewritten to use Lit or plain Javascript instead.

dingusdk commented 6 months ago

This is an issue for the front end. It is already there so i will close this one