goooroooX / ZipatoPy

Python library to interact with Zipato smarthome controllers
Apache License 2.0
4 stars 2 forks source link

include get_device_config to your code #5

Closed TheBazeman closed 4 years ago

TheBazeman commented 4 years ago

Hi, Can you add something to your code?

def get_device_config(self, uuid):
    endpoint = "devices/" + uuid + "/config"
    return self.call_api(endpoint, "GET")

right below the "def get_device_status(self, uuid):" section

Tested and working. Need this to find ghost associations created by the Fibaro RGWB modules themselves.

Thanks a lot again, Bas

goooroooX commented 4 years ago

Hi! Will do early next week, Sorry for delayed response.

goooroooX commented 4 years ago

Code updated.