fix mqtt change prio to 1 for persistant
This commit is contained in:
parent
a1604ad527
commit
aee627c058
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue