That’s one of the nice things about Home Assistant and DIY components… there are often many, many ways to do the same thing.
I don’t quite understand how your configuration would be LESS messy with more RF devices than mine.
In your method, you have a binary_sensor/mqtt entry for every RF device. As well as an automation to publish a “0” after every seen event on an MQTT topic (an automation that, as you know, goes out of HASS, into MQTT, and then back into HASS). So, you have N devices and 1 automation (plus whatever else you need to actually do things when the RF devices trigger). In terms of CPU, every one of these binary_sensors will trigger every time the topic updates (which is twice per RF trigger, one for the code, and again for the 0).
In my method, I have a binary_sensor/template entry for every RF device. And I have a sensor/mqtt entry for the RF topic. So I have N+1 devices and no automations. In terms of CPU, every one of my binary_sensors will trigger every time the sensor updates (which is once per RF trigger, plus once every time the sensor expires).
So in terms of configuration, they are equal. In terms of CPU time, they are roughly equal (yours is probably a tiny bit worse because of the overhead of sending a 0 to mqtt only to have it read back in by Hass). So the amount of mess with either of our methods is the same. My method, however, has the added feature of leaving the sensor ON for the proper length of time based on a setting for each RF device. Your method, leaves the sensor on for 1 second, no matter what. And if you didn’t want that feature, for whatever reason, you could just not set “delay_off” at all, and get the exact same functionality you have (1 second on, then off).
I’m a fan of there being many ways to do the same thing all with different benefits. But in this case, I don’t understand how mine is messy and yours is not. If there’s something about your setup that is cleaner that I’m not understanding, I’d like to understand so I can do it that way instead.