Index: dialin/hd/buttons.py =================================================================== diff -u -r9bc00e997e91dab8b404aa877b02ae3d4100d417 -r8bfe632d3669fa40f7c4621ffaca0bec1d5d3512 --- dialin/hd/buttons.py (.../buttons.py) (revision 9bc00e997e91dab8b404aa877b02ae3d4100d417) +++ dialin/hd/buttons.py (.../buttons.py) (revision 8bfe632d3669fa40f7c4621ffaca0bec1d5d3512) @@ -42,7 +42,7 @@ if self.can_interface is not None: self.can_interface.register_receiving_publication_function(DenaliChannels.hd_to_ui_ch_id, - MsgIds.MSG_ID_POWER_OFF.value, + MsgIds.MSG_ID_OFF_BUTTON_PRESS_REQUEST.value, self._handler_poweroff_timeout_occurred) self.hd_power_off_timestamp = 0.0 Index: dialin/ui/hd_simulator.py =================================================================== diff -u -r428c5c0a653129867b1cb32b5e64f89f68191c4b -r8bfe632d3669fa40f7c4621ffaca0bec1d5d3512 --- dialin/ui/hd_simulator.py (.../hd_simulator.py) (revision 428c5c0a653129867b1cb32b5e64f89f68191c4b) +++ dialin/ui/hd_simulator.py (.../hd_simulator.py) (revision 8bfe632d3669fa40f7c4621ffaca0bec1d5d3512) @@ -279,7 +279,7 @@ """ payload = byte_to_bytearray(PowerOffCommands.PW_COMMAND_OPEN.value) message = DenaliMessage.build_message(channel_id=DenaliChannels.hd_to_ui_ch_id, - message_id=MsgIds.MSG_ID_POWER_OFF.value, + message_id=MsgIds.MSG_ID_OFF_BUTTON_PRESS_REQUEST.value, payload=payload) self.can_interface.send(message, 0) @@ -290,7 +290,7 @@ """ payload = byte_to_bytearray(PowerOffCommands.PW_TIMEOUT_CLOSE.value) message = DenaliMessage.build_message(channel_id=DenaliChannels.hd_to_ui_ch_id, - message_id=MsgIds.MSG_ID_POWER_OFF.value, + message_id=MsgIds.MSG_ID_OFF_BUTTON_PRESS_REQUEST.value, payload=payload) self.can_interface.send(message, 0) @@ -301,7 +301,7 @@ """ payload = byte_to_bytearray(PowerOffCommands.PW_REJECT_SHOW.value) message = DenaliMessage.build_message(channel_id=DenaliChannels.hd_to_ui_ch_id, - message_id=MsgIds.MSG_ID_POWER_OFF.value, + message_id=MsgIds.MSG_ID_OFF_BUTTON_PRESS_REQUEST.value, payload=payload) self.can_interface.send(message, 0)