I’m also on 4.0M1 in docker and my presence items inside equipment properly display badges on the location cards. The problem here is most likely in some of the finer details of your item configurations, but you haven’t shown us those.
In general, this is not actually helpful. As in this case, attempting to simplify the information actually leaves out all the relevant pieces. Don’t worry about flooding the topic with info, the more the better, because the more likely someone can see the issue right away. Give us everything.
I have my equipment as just a “Sensor” semantic class not a specific “MotionDetector” class. See if that makes a difference, and if so then you should probably file a issue in the UI repo, because I would expect a motion detector class equipment to trigger the motion badge as well.