code: func (h *haManager) setStatus(s seesaw.HAStatus) {
  	h.setState(s.State)
  
  	h.statusLock.Lock()
  	h.status.Since = s.Since
  	h.status.Sent = s.Sent
  	h.status.Received = s.Received
  	h.status.Transitions = s.Transitions
  	h.statusLock.Unlock()
  }
docs: // setStatus updates the engine HAStatus.