fix(netd): restart zigbee coordinator to access lamp
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
9ce5b7e8a5
commit
70fe1a0e81
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ namespace NetDaemonConfig.Apps.Frontend.BathroomLight
|
||||||
{
|
{
|
||||||
public BathroomLight(Services services, Entities entities)
|
public BathroomLight(Services services, Entities entities)
|
||||||
{
|
{
|
||||||
|
// ZigBee needs restart to access Light
|
||||||
|
entities.Button.Slzb06p7CoreRestart.Press();
|
||||||
|
|
||||||
LightEntity? bathroomLight = entities.Light.Tz3210KatchgxyTs0505bLight;
|
LightEntity? bathroomLight = entities.Light.Tz3210KatchgxyTs0505bLight;
|
||||||
InputTextEntity? bathroomLightBrightness = entities.InputText.BathroomLightBrightness;
|
InputTextEntity? bathroomLightBrightness = entities.InputText.BathroomLightBrightness;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue