Cannot automate Hue motion sensor

Newbie here trying to start automating my home. I own a Hue motion sensor placed in my hallway. I made an entry in my automations.yaml with the help of this cookbook: https://www.home-assistant.io/cookbook/turn_on_light_for_10_minutes_when_motion_detected/

When the motion sensor detects motion I now see in my logging

Error updating Hue sensors
‎20‎:‎12 custom_components/sensor/hue.py (ERROR)

I’m using the custom component: https://github.com/robmarkcole/Hue-sensors-HASS

Can somebody tell me where to find out why my sensor is not working? I can operate the Hue bulbs and the state of the sensor is also shown in my dashboard. Maybe you guys have a better component I have to use?

Don’t know about the custom component, but I use the generic REST sensor and it works perfectly with the Hue motion sensor.

I’ve been having problems with the custom component for the last couple of weeks, suddenly stops updating from the sensors for no apparent reason.

Can you share your configuration?

1 Like

The configuration is easy, but it is required to do some things in advance: Tutorial adding HUE Motion sensor (Lux,Temp and Motion)

1 Like

Thanks m0wlheld, this solution is now working for me, only had to add some modification for the LUX calculation. Thank you!