Shelly Motion no light sensor value in HOOBS, incorrect sensor value in HomeKit
While testing the new motion sensor implementation I discovered 2 things:

1. The light sensor value is not being displayed on the Hoobs web UI or dashboard; the Home App does show Lux values though, which brings me to the next point...
2. The Lux values in the Home App seems to be transmitted only at the exact same moment when motion starts or ends. This leads to incorrect lux values in the Home App because you get the previous light value before the motion action happened.

Is this expected behavior? So I have no Lux value on Hoobs Dashboard and the value gets not refreshed when it actually changes or periodically but only at the motion start/end event?
If this is true, it‘s not possible to rely on the Lux value and include it in automations as it doesn‘t reflect the actual brightness in the room but the brightness at last motion event.

![6EB6229F-F9B8-4E18-BBCB-2894DD1CEE1C](https://user-images.githubusercontent.com/17024592/109147213-0ab57b00-7765-11eb-9322-83560bfcf89a.jpeg)
![B5E4A7EA-719D-4884-9D24-B87196A82415](https://user-images.githubusercontent.com/17024592/109147218-0c7f3e80-7765-11eb-8f92-0553b374fbca.jpeg)
![B5D4C291-7270-47FC-90E7-C5967E69958B](https://user-images.githubusercontent.com/17024592/109147221-0d17d500-7765-11eb-96e2-420d19d8788a.jpeg)

_Originally posted by @apartmedia in https://github.com/alexryd/homebridge-shelly/issues/268#issuecomment-785827539_