Skip to content

Getting battery status #27

Description

@themegabyte

Hello,

Thank you for your work on this.

I want to add support for getting the battery status. Any pointers on where I should start?

Thank you.

EDIT 1:
I was able to get some information out using the get_from_url () function. I will keep this thread updated.

url = "{}/monitoring/status".format(ctx.api_base_url)
huaweisms.api.common.get_from_url(url, ctx)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions