Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Battery and Version to device status mapping #17

Closed
wants to merge 1 commit into from
Closed

Add Battery and Version to device status mapping #17

wants to merge 1 commit into from

Conversation

slimninja
Copy link

Ref new api statuses: OpenWonderLabs/SwitchBotAPI#11

@slimninja
Copy link
Author

Or, adding all fields for sake of completeness: https://github.com/OpenWonderLabs/SwitchBotAPI#bot-1

    "deviceId": "deviceId",
    "deviceType": "deviceType",
    "power": "power",
    "battery": "battery",
    "version": "version",
    "deviceMode": "deviceMode",
    "hubDeviceId": "hubDeviceId",

@jonghwanhyeon
Copy link
Owner

Thanks for your contribution. Because this issue will happen again in the future, I just removed status_key_mapping in version 2.3.0.

@slimninja slimninja deleted the patch-1 branch March 28, 2023 21:01
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.

None yet

2 participants