diagnostic tool fixes
This commit is contained in:
@ -50,7 +50,7 @@ func (ms MatterState) Change(from MatterState, to MatterState) bool {
|
||||
return false
|
||||
}(transitions[from], to)
|
||||
if !newStateFound {
|
||||
log.Warn().Msgf("Transition %s -> %s is impossible", from, to)
|
||||
log.Warn().Msgf(`Transition %d -> %d is impossible`, from, to)
|
||||
return false
|
||||
}
|
||||
// check temperatures/conditions, see template
|
||||
@ -79,4 +79,4 @@ func (ms MatterState) Change(from MatterState, to MatterState) bool {
|
||||
|
||||
return true
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user