I noticed a small spinning wheel next to button "Update from Device", I clicked on the OK button in the small panel and, after a few seconds, I noticed the updating of the configuration as follows:

- SchermataAssociation2.png (62.7 KiB) Viewed 13573 times
I verified that it was not generated a new warning in HA UI and I tested the removal of the 2 associations by moving by the sensor without causing a lighting of the lamp.
I darkened the room and tried to pass by the sensor without getting the lighting of the lamp, however, I noted that the Lux value was stable in HA UI even in dark condition.
This depended upon the slowness of the luminescence value updating. To set a more frequent updating I have modified and saved the parameter No. 42 - ILLUMINATION REPORTS INTERVAL from 0 to 10 sec. (Old UI Expert> Device Configuration) and I noticed frequent updates of Lux data, and consequently a more ready behavior of the system when I moved in front of the sensor.
I recreated the LogocalRule Light OFF, as shown in the image:

- SchermataTurnOFF.png (44.37 KiB) Viewed 13573 times
I tested the operations of the 2 rules and verified that the lamp was turning On for 30 seconds with lux > 20 and if the sensor perceived a movement and was turning Off in the absence of movement or with lux > 100.
I tested the system behavior with my Rasberry switched off and verified that the 2 LogicalRules were not operational, obviously, while would be operational the association sensor/switch if configured
With my Raspberry turned On I was able to "manually" turn on the switch/lamp for only 1 sec, using any interface, as a result of the prevailing instractions of LogicalRules!
No one new warning was shown in HA UI
Claudio
