My TV is connected through a powerline adapter. Will screen mirroring work?

Probably not. Most powerline adapters create a separate subnet, which means that your Smart TV will not be able to reach your Mac to get the screen mirroring video stream.

Please connect your TV in the same way to your router as your Mac is connected to your router.