Hive Motion & Contact Sensors

It’s polling motion in the live logging section, so it’s definitely sending the commands. I just don’t know how to edit the code to make it register the motion as active