pymelcloud
pymelcloud copied to clipboard
ATW not found
device = devices[pymelcloud.DEVICE_TYPE_ATW][0] IndexError: list index out of range
I get this error.
if i print var device i get this: {'ata': [<pymelcloud.ata_device.AtaDevice object at 0x000001E6772B61A0>], 'atw': [], 'erv': []}
Which device is this? Can you provide sample responses from the relevant endpoints?
I found a solution. My device was ATA and i tried to access it as ATW.
I can get readings from a device now. Can you tell me how to send commands back to device ? Like power on, off etc ?
@vilppuvuorinen Please help
@vilppuvuorinen I also don't understand how I send back a change like changing the temperature from 21-degree celsius to 19-degree celsius. I would really appreciate if you could add to the documentation on how to do such a request 😊