From 70fe1a0e8130f77b452a4b205743adbed3196ba0 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 2 Feb 2025 12:14:44 -0500 Subject: [PATCH] fix(netd): restart zigbee coordinator to access lamp --- .../netdaemon/apps/Frontend/BathroomLight/BathroomLight.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configurations/homie/modules/home-assistant/netdaemon/apps/Frontend/BathroomLight/BathroomLight.cs b/configurations/homie/modules/home-assistant/netdaemon/apps/Frontend/BathroomLight/BathroomLight.cs index 60a774f2..2a1f3531 100644 --- a/configurations/homie/modules/home-assistant/netdaemon/apps/Frontend/BathroomLight/BathroomLight.cs +++ b/configurations/homie/modules/home-assistant/netdaemon/apps/Frontend/BathroomLight/BathroomLight.cs @@ -13,6 +13,9 @@ namespace NetDaemonConfig.Apps.Frontend.BathroomLight { public BathroomLight(Services services, Entities entities) { + // ZigBee needs restart to access Light + entities.Button.Slzb06p7CoreRestart.Press(); + LightEntity? bathroomLight = entities.Light.Tz3210KatchgxyTs0505bLight; InputTextEntity? bathroomLightBrightness = entities.InputText.BathroomLightBrightness;