Skip to content

Support ion and keypadlock control.#21

Merged
qqaatw merged 5 commits intoqqaatw:masterfrom
LW-Ho:feature/add-more-function
Jul 22, 2024
Merged

Support ion and keypadlock control.#21
qqaatw merged 5 commits intoqqaatw:masterfrom
LW-Ho:feature/add-more-function

Conversation

@LW-Ho
Copy link
Copy Markdown
Contributor

@LW-Ho LW-Ho commented Jul 17, 2024

購買了 RD-200HH1,也試圖使用API 控制該兩項功能,且都能運作。

Copy link
Copy Markdown
Owner

@qqaatw qqaatw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution, sorry didn't see this PR in the first place.

"is_numeric": False,
"legacy_name": None,
"id2str": {},
"legacy_name": "ion",
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't add "new" legacy names anymore. They exist only for BC reasons that I have been lazy to resolve. Let's just use its regular name Ion (and please modify the PR in JciHitachiHA accordingly).

Copy link
Copy Markdown
Owner

@qqaatw qqaatw Jul 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're adding a legacy name ion to it, and we don't do that anymore because it is "legacy".

Simply set legacy_name to None and use its regular name Ion instead. You can look at the Defrost below as an example.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks your response, i modify and push.

"is_numeric": False,
"legacy_name": None,
"id2str": {},
"legacy_name": "keypad_lock",
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.45%. Comparing base (3b48880) to head (4324f84).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   92.64%   87.45%   -5.20%     
==========================================
  Files           8        8              
  Lines         789      789              
==========================================
- Hits          731      690      -41     
- Misses         58       99      +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@qqaatw
Copy link
Copy Markdown
Owner

qqaatw commented Jul 21, 2024

Let me know if you run into any issue.

@LW-Ho
Copy link
Copy Markdown
Contributor Author

LW-Ho commented Jul 22, 2024

Let me know if you run into any issue.

Sorry, I don't understand what you mean, so I don't know what to modify.

@qqaatw qqaatw merged commit 341c888 into qqaatw:master Jul 22, 2024
@LW-Ho LW-Ho deleted the feature/add-more-function branch July 22, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants