Hi, I've noticed that if I rename the light child then it no longer works. The fan is okay.
Any fix for this?
Hi, I've noticed that if I rename the light child then it no longer works. The fan is okay.
Any fix for this?
Fixed it. I renamed them "Room Light".
So I had to replace the instances of
cd.displayName.endsWith("-Light")
in the code with
cd.displayName.endsWith("Light")