What is this part? I've googled the code on top and haven't found any datasheet. It's connected to the AC supply on a WiFi switch that I'm trying to repair so I figure it's a rectifier, but it also has 3 pins on the other side.
It appears to be a Bright Power Semiconductor buck regulator — maybe a discontinued or not-listed part, given that it doesn't appear on their site and datasheets can't be found, but there are several parts with similar part numbers, package, and markings on this page.
Your guess is as good as mine what the correct specs are for the 2905 without a datasheet, though.