def board_io_event(self, name, state):
    self.mqtt_publish_message(suffix=f'boards/{name}/{state.component}/{state.num}/status', payload=state.status)
def board_io_event(self, name, state):
    self.mqtt_publish_message(suffix=f'boards/{name}/{state.component}/{state.num}/status', payload=state.status)