Probably isn't documented, butI believe checkbox control types ignore the readonly attribute. Readonly is only used (
Jay correct me if I'm wrong) for the text field control types.
I can help you with the 2nd question though. Indigo uses its own internal/special dictionary type which as you noticed logs (via str()) differently than the python one. In this case you can first cast it to a python dict type if you want its str() formatted result:
- Code: Select all
self.logger.info("Device data for %s:\n%s", device, dict(valuesDict))