All our ceiling lights, aircon, outlets are IR-controlled.
Then I got generic Chinese IR blasters, and use homebridge to connect it all over the LAN to Apple HomeKit.
If there is a shift in tech, someone will always be selling new IR blasters due to the installed base. Worse case, I'll always have the IR remote controls (or can build something out of an raspberry pi/arduino)