fix mqtt change prio to 1 for persistant

This commit is contained in:
Martin/Geno 2019-08-07 13:05:42 +02:00
parent a1604ad527
commit aee627c058
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

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