The problem
When running multiple NetDaemon host applications, witch different apps, connected to the same HA, the last one to start will remove the input_bools that were created by the other instance.
The proposed solution
We need to indicate which input_bool belongs to which host application. We could do that by prefixing and / or adding labels to the input_bools.. That would allow the host at startup to only delete the input_bool entities that belong to that host.
We can allow options to be set eg. AddNetDaemonStateManager(new StateManagerOption{...}) To allow the user to specify a prefix and or label for the generated entity. While at it we may also be able to allow for a naming convention to be specified, eg. ClassName, FullyQualifiedClassName
The alternatives
Additional context