ccchatbot/mqtt/schalter.go

6 lines
124 B
Go

package mqtt
func (s *Service) HandleSchalterStateChange(open bool) {
s.client.Publish("ccchb/schalter", 0, true, open)
}