Index: leahi_dialin/td/modules/valves.py =================================================================== diff -u -rc5bfcf84ed942ca5841bf9de155aa0f495b4d28d -r20c821bd230fc7689a0275a2918981669ff5cc19 --- leahi_dialin/td/modules/valves.py (.../valves.py) (revision c5bfcf84ed942ca5841bf9de155aa0f495b4d28d) +++ leahi_dialin/td/modules/valves.py (.../valves.py) (revision 20c821bd230fc7689a0275a2918981669ff5cc19) @@ -20,7 +20,7 @@ from leahi_dialin.common.constants import NO_RESET from leahi_dialin.common.msg_defs import MsgIds from leahi_dialin.common.override_templates import cmd_generic_broadcast_interval_override, cmd_generic_override -from leahi_dialin.common.td_defs import td_enum_repository +from leahi_dialin.common import td_enum_repository from leahi_dialin.protocols.CAN import DenaliMessage, DenaliChannels from leahi_dialin.utils.base import AbstractSubSystem, publish from leahi_dialin.utils.conversions import integer_to_bytearray @@ -75,8 +75,9 @@ self.can_interface.register_receiving_publication_function(channel_id, self.msg_id_td_valves_data, self._handler_valves_sync) - self.td_valves_timestamp = 0.0 - # A dictionary of the valves with the status + self.td_valves_timestamp = 0.0 #: The timestamp of the latest message + + # The Valves data in dictionary format self.valves_status = {td_enum_repository.TDValveNames.H1_VALV.name: {}, td_enum_repository.TDValveNames.H19_VALV.name: {}}