Temp == "capability.illuminanceMeasurement" or
#Motion related
Temp == "capability.motionSensor" or
+ Temp == "capability.accelerationSensor" or
#Water related
Temp == "capability.valve" or
Temp == "capability.waterSensor" or
"capability.switchLevel" in app2Capab):
print ("\nWARNING: Potential PHYSICAL CONFLICT (light) detected between App1 and App2!\n")
#Motion
- if ("capability.motionSensor" in app1Capab):
+ # TODO: Technically this is not entirely precise since we need to be able to detect that the other app creates motion
+ if ("capability.motionSensor" in app1Capab) or ("capability.accelerationSensor" in app1Capab):
print ("\nWARNING: Potential PHYSICAL CONFLICT (motion) detected between App1 and App2!\n")
#Water
if ("capability.waterSensor" in app1Capab) and ("capability.valve" in app2Capab or