package mqtt func (s *Service) HandleSchalterStateChange(open bool) { token := s.client.Publish("p5/schalter/state/open", 1, true, open) token.Wait() }