some tweaks

This commit is contained in:
2023-02-06 14:49:50 +01:00
parent fc5e3c88ff
commit e617faa4df
3 changed files with 9 additions and 4 deletions

View File

@ -116,8 +116,9 @@ def handle_default_procedure(
}
input_helper = InputHelper(menu_dict)
tmp_select = input_helper.get_key()
object_id = obj_id_man.get(menu_dict[tmp_select][1])
return pack_tmp1075_test_into(
object_id=menu_dict[tmp_select][1], q=queue_helper, op_code=op_code
object_id=object_id, q=queue_helper, op_code=op_code
)
if service == CustomServiceList.HEATER.value:
object_id = HEATER_CONTROLLER_ID