Wemo motion sensor detected as a switch

My Wemo motion sensor used to be discovered as a binary_sensor. Just recently it is being discovered as a switch i.e. binary_sensor.kitchen_motion is now switch.kitchen_motion. I suspect this happened following an upgrade to 0.85.1 from 0.84.6 . I haven’t yet upgraded to 0.86 but the release notes make no mention of any ‘wemo’ fixes.

Is anybody else having the same problem?

Issue here,

https://github.com/home-assistant/home-assistant/issues/20006

Submit logs if you can. Mine did it earlier on but has stopped doing this now.