GUI: Refactor send_command #4

Merged
linuswck merged 6 commits from gui_dev-refactor-send_command into gui_dev 2024-10-07 13:03:38 +08:00
Collaborator

Refactors and simplifies the send_command function and the interface of the param_tree options.

Refactors and simplifies the `send_command` function and the interface of the param_tree options.
atse added 6 commits 2024-08-14 16:37:39 +08:00
dd83daa5d9 send_command: Remove indirect path to parameter
The child at inner_param's childpath to the root parameter... is just
inner_param itself.
278898fad2 send_command: Switch to thermostat:set_param
Use a `dict` to map values to thermostat parameters, which correspond to
the `set_param` parameters in the pytec client. New tag
"thermostat:set_param" used in JSON.
41abad7aa3 send_command: Remove "activater"
Interpret commands anomalies directly in send_command instead
linuswck merged commit 19c3c7a8f2 into gui_dev 2024-10-07 13:03:38 +08:00
linuswck deleted branch gui_dev-refactor-send_command 2024-10-07 13:03:38 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: linuswck/thermostat#4
No description provided.