public Connection(HomeAssistantWebSocketApi owner)
 {
     _owner = owner;
 }
 public EventListener(HomeAssistantWebSocketApi owner, string type)
 {
     _owner  = owner;
     _type   = type;
     _events = new ReplaySubject <HomeAssistantEvent>(0, _owner._scheduler);
 }