fix: deduplicate entity markers from parent devices

Issue: #226
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-20 21:35:23 +03:00
parent d7c654d4c3
commit f151e70a27
14 changed files with 960 additions and 423 deletions
+10
View File
@@ -338,6 +338,16 @@ Newly discovered devices get a red dot until first opened in Device.
The same binding cannot be used by two markers.
When an exact HA entity belongs to a device, placing that entity gives its
channel to the entity marker. The automatic parent marker, if needed, contains
only the remaining active, HA-visible and unplaced entities; it disappears
when that residual is empty. HA-hidden siblings alone do not keep an automatic
parent on the plan. To show both the exact entity and the complete device,
place `entity:X` and `device:D` explicitly — two explicit markers are treated
as an intentional configuration. Deleting an entity marker returns the entity
to automatic parent discovery; its binding tombstone does not remove registry
data from the live HA device.
### Device editor
- drag a marker to save its server-side position;