Closed TheBazeman closed 4 years ago
Hi! Have you tested this code?
Hi Dmitry,
Yes of course! You can use it with this function:
def ReadZipatoDeviceStatus(ZipatoAttributeUUID,ZipatoDeviceName): try: ZipatoDeviceValue=api.get_device_status(ZipatoAttributeUUID)["state"] except: ZipatoDeviceValue = "PROBLEM_READING_OUT_VALUE" return ZipatoDeviceValue
Kind regards,
Bas Bahlmann/Netherlands
Van: Dmitry [mailto:notifications@github.com] Verzonden: woensdag 4 september 2019 16:43 Aan: goooroooX/ZipatoPy ZipatoPy@noreply.github.com CC: Bas Bahlmann bas@bahlmann.nl; Author author@noreply.github.com Onderwerp: Re: [goooroooX/ZipatoPy] Can you add the following function to your code? (#3)
Hi! Have you tested this code?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/goooroooX/ZipatoPy/issues/3?email_source=notifications&email_token=AK3C5PXBFRFYJGT7O4L3FULQH7CQVA5CNFSM4ITRY2F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53Z53I#issuecomment-527933165, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK3C5PSXARWF2ZQXRB3ANQLQH7CQVANCNFSM4ITRY2FQ.
Code updated and uploaded to pypi.
Hi there again, I would like to get the battery percentage of devices. Can't do that with the current set. Can you add the following to your code?
class ZipatoPy(BaseAPIClient):
Thank, Bas