Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Morcegolas 6
Hello people, as you know I'm not a programmer, so as I have the need to code my scenes I'm learning.
I get some code found in this forum and made some changes to understand what is going on.
So I trying to check if one of this two lights ( ID: 95 and 97) are ON, but with this code, only if the two lights are ON that 'lightsOff' equals to false, and I want to change that to If one of them is ON then lightsOff = false.
Here is the code:
Please login or register to see this code.
what do I have to change in checkLights function?
Thanks.
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.