Converting Plug-in Power Relays to Smart Relays

I recently bought a house that has a relay panel of 20 or so relays that control all of the lights in the house (see attached photo, it’s a little nutty!). The relays are these.

I’ve been trying to find either a controller or a replacement relay that would make them accessible from Home Assistant with no luck, so wondering if anyone knows of something I could use?