Hi,
I want to use python-miio via API. To always support all integrated devices I would like to do a generic integration where I would like to get all possible commands via API. Is that possible?
I found a way to get device type and the possible commands, but not the options:
for device_class in DeviceGroupMeta.device_classes:
print(device_class.get_device_group().name + ", cmds: " + str(device_class.get_device_group().commands.keys()))
It would be great if you could provide an API to get all possible commands and options for a device. Thanks!
Hi,
I want to use python-miio via API. To always support all integrated devices I would like to do a generic integration where I would like to get all possible commands via API. Is that possible?
I found a way to get device type and the possible commands, but not the options:
It would be great if you could provide an API to get all possible commands and options for a device. Thanks!