wren node takes switches (plug, socket, appliances), refused when the model lacks the kind

This commit is contained in:
Melvin Strobl
2026-10-22 17:48:41 +02:00
parent 6b575a4989
commit 613eb8a744
4 changed files with 43 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class FakeWren:
*("living room", "kitchen", "bathroom", "bedroom", "office"),
*("garden", "patio", "garage", "driveway", "balcony"),
]
KINDS = ["light", "media", "heat", "shutter", "water"]
KINDS = ["light", "media", "heat", "shutter", "water", "switch"]
Device = _Device
House = _House