custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.97k stars 242 forks source link

Cannot define multiple custom elements with the same tag name #557

Open thorrrr opened 2 years ago

thorrrr commented 2 years ago

Checklist

The logs fills up through the day with error from card. Everytime i start HA it pops up

Logger: frontend.js.latest.202202030 Source: components/system_log/init.py:190 First occurred: 07:10:18 (3 occurrences) Last logged: 07:30:29

https://homeassistant.mywebsite.co.uk/hacsfiles/button-card/button-card.js?hacstag=146194325342:1:38791 NotSupportedError: Cannot define multiple custom elements with the same tag name http://192.168.23.137:8123/config/logs:0:0 Uncaught

Version of the card Version: 3.4.2

To Reproduce This is the configuration I used: I have several button cards i have no idea which one the error relates to so not sure what yaml you need. But my cards all work!

Screenshots If applicable, add screenshots to help explain your problem.

Expected behavior No error logs filling up my list :)

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Not entered Browser or IOS device happens on everything and no visual display problems just back end logs

HA Info

System Health

version core-2022.2.7
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.98
arch x86_64
timezone Europe/London
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4994 Installed Version | 1.22.0 Stage | running Available Repositories | 977 Downloaded Repositories | 25
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.4 -- | -- update_channel | stable supervisor_version | supervisor-2022.01.1 docker_version | 20.10.9 disk_total | 30.8 GB disk_used | 17.3 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Samba share (9.5.1), Check Home Assistant configuration (3.9.0), SSH & Web Terminal (10.0.2), Home Assistant Google Drive Backup (0.105.2), Studio Code Server (4.1.0), MariaDB (2.4.0), InfluxDB (4.3.0), Grafana (7.4.1), Mosquitto broker (6.0.1)
Lovelace dashboards | 3 -- | -- resources | 16 views | 75 mode | storage