Water Heater. Ability to send only mandatory parameters #14
No reviewers
Labels
No Label
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xiconfjs/pyhOn#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In my case I have command StartProgram that has 3 parameters (Commands TestData Link):
But only
onOffStatus
is mandatory.The problem is when I send
StartProgram
command the body contains all 3 parameters with default values. As result I settempSel
to default value. Instead of this I want to send only mandatory parameters.I'm also preparing changes Hon repository as well
P.S. It might fix issue with on/off AC too
Looks good so far, thanks!
You can also use black locally to format the code 🙂
pip install black; black pyhon/
Thanks for help me with black :)
Now it's fixed
@Andre0512
I added more options to manage the process of sending command
Good work, I think this can also resolve the new issue https://github.com/Andre0512/hon/issues/92 🙂
To get the actions running, have a look at the python-check.yml. You can test the action local if you run:
Please use snake-case here for parameters ->
only_mandatory
Done
Thanks! It's now available in the new version
v0.15.0
🙂