Is it possible to make the main devices in HA (lights, switches, sensors, etc.) virtual, and then just connect physical ones to them?
For example, to quickly replace devices, without overwriting automation, without losing history (especially if exporting to another database), etc.
I understand that this does not apply to all physical devices.
I also understand that with such an implementation, it is difficult to handle additional functions, such as attributes, etc.
But still, this would greatly simplify HA programming after replacing devices.
It would also for example, eliminate the need to apply the platform “Light Switch” ( which is virtual “Light”, but with a narrow features).
It would also solve many customize problem without use of “Customize”.
This would probably also simplify debugging.
I do not propose to do all management only through virtual devices.
I suggest just giving this opportunity.
I think this will greatly expand the capabilities of the already magnificent Home Assistant.
Who cares, vote me!