Describe the bug
Der iobroker lovelace Adapter überschreibt die bestehenden lovelace-entity Einträge mit identischen Werten, manche sogar doppelt (z.B. alle Entities shelly1pm_84cca8_Kueche). Dabei erzeugt bei 6 Shellys über 60 unnötige Warnungen im Log.
To Reproduce
Steps to reproduce the behavior:
- Go to instancen
- Click on restart instance (hier shelly)
- Go to ioB log
- See error
Expected behavior
die bestehenden lovelace-entity Einträge sofern korrekt bleiben unverändert
Screenshots & Logfiles
(Aussschnitt)
`
lovelace.0 | 2024-03-22 14:16:36.934 | warn | Got duplicate for entity sensor.shelly1pm_84cca8_Kueche_Temperature. Overwriting old value. Was for shelly.0.SHSW-PM#84CCA8AC6BAF#1 and new one is for shelly.0.SHSW-PM#84CCA8AC6BAF#1
-- | -- | -- | --
lovelace.0 | 2024-03-22 14:16:36.932 | warn | Got duplicate for entity sensor.shelly1pm_84cca8_Kueche_Temperature. Overwriting old value. Was for shelly.0.SHSW-PM#84CCA8AC6BAF#1 and new one is for shelly.0.SHSW-PM#84CCA8AC6BAF#1
lovelace.0 | 2024-03-22 14:16:36.933 | warn | Got duplicate for entity switch.shelly1pm_84cca8_Kueche. Overwriting old value. Was for shelly.0.SHSW-PM#84CCA8AC6BAF#1 and new one is for shelly.0.SHSW-PM#84CCA8AC6BAF#1
lovelace.0 | 2024-03-22 14:16:36.932 | warn | Got duplicate for entity sensor.shelly1pm_84cca8_Kueche_Humidity. Overwriting old value. Was for shelly.0.SHSW-PM#84CCA8AC6BAF#1 and new one is for shelly.0.SHSW-PM#84CCA8AC6BAF#1
lovelace.0 | 2024-03-22 14:16:36.931 | warn | Got duplicate for entity climate.shelly1pm_84cca8_Kueche. Overwriting old value. Was for shelly.0.SHSW-PM#84CCA8AC6BAF#1 and new one is for shelly.0.SHSW-PM#84CCA8AC6BAF#1
lovelace.0 | 2024-03-22 14:16:36.930 | warn | Got duplicate for entity geo_location.Shelly1PM_840d8e_Bad. Overwriting old value. Was for shelly.0.SHSW-PM#840D8EB1E1C5#1 and new one is for shelly.0.SHSW-PM#840D8EB1E1C5#1
lovelace.0 | 2024-03-22 14:16:36.929 | warn | Got duplicate for entity sensor.Shelly1PM_840d8e_Bad_Temperature. Overwriting old value. Was for shelly.0.SHSW-PM#840D8EB1E1C5#1 and new one is for shelly.0.SHSW-PM#840D8EB1E1C5#1
lovelace.0 | 2024-03-22 14:16:36.930 | warn | Got duplicate for entity switch.Shelly1PM_840d8e_Bad. Overwriting old value. Was for shelly.0.SHSW-PM#840D8EB1E1C5#1 and new one is for shelly.0.SHSW-PM#840D8EB1E1C5#1
lovelace.0 | 2024-03-22 14:16:36.929 | warn | Got duplicate for entity sensor.Shelly1PM_840d8e_Bad_Humidity. Overwriting old value. Was for shelly.0.SHSW-PM#840D8EB1E1C5#1 and new one is for shelly.0.SHSW-PM#840D8EB1E1C5#1
lovelace.0 | 2024-03-22 14:16:36.928 | warn | Got duplicate for entity climate.Shelly1PM_840d8e_Bad. Overwriting old value. Was for shelly.0.SHSW-PM#840D8EB1E1C5#1 and new one is for shelly.0.SHSW-PM#840D8EB1E1C5#1
`
Versions:
- Adapter version: lovelace 4.1.2
Plattform: docker (official image - v9.0.1)
Betriebssystem: linux
Architektur: arm
CPUs: 4
Geschwindigkeit: 1800 MHz
Modell: ARMv7 Processor rev 3 (v7l)
RAM: 3.7 GB
System-Betriebszeit: 4 T. 22:46:15
Node.js: v18.19.0
time: 1711114209857
timeOffset: -60
NPM: 10.2.3
Adapter-Anzahl: 535
Datenträgergröße: 27.9 GB
Freier Festplattenspeicher: 6.1 GB
Aktive Instanzen: 24
Pfad: /opt/iobroker/
Betriebszeit: 4 T. 22:44:16
aktiv:
Additional context
Add any other context about the problem here.