public void OnPrimaryUserChanged(APLDocumentBase document, APLValue <IList <APLCommand> > commands)
 {
     document.AddHandler($"{Name}:{PrimaryUserChangedEventName}", commands);
 }
 public void OnDeviceStateChanged(APLDocumentBase document, APLValue <IList <APLCommand> > commands)
 {
     document.AddHandler($"{Name}:{DeviceStateChangedEventName}", commands);
 }
 public void OnEntitySensingStateChanged(APLDocumentBase document, APLValue <IList <APLCommand> > commands)
 {
     document.AddHandler($"{Name}:{EntitySensingStateChangedEventName}", commands);
 }