Can you explain why sometimes the following code returns true and others false? I'm not sure how the statement is used in this scenario.
var smart_devices = Modules.WithFeature(SMART_LIGHT_ENABLE);
smart_devices.Each((mod)=>
{
if (module.Instance.Name=="Entry Light"))
{
//code to do stuff
...
}
return true;
});