Address late Shelly review (#63754)
Address late Shelly review (#63754)

* Late review

* Apply review comments

* Revert review original comment

* Optimizization: loop exit

* Break instead of return

* Missing super init
rohitranjan1991/home-assistant,mezz64/home-assistant,toddeye/home-assistant,nkgilley/home-assistant,GenericStudent/home-assistant,w1ll1am23/home-assistant,mezz64/home-assistant,toddeye/home-assistant,rohitranjan1991/home-assistant,GenericStudent/home-assistant,w1ll1am23/home-assistant,rohitranjan1991/home-assistant,nkgilley/home-assistant