Options with nested dictionaty

Python and python framework
Post Reply
golibali
Posts: 1
Joined: Monday 08 October 2018 14:03
Target OS: Linux
Domoticz version:
Contact:

Options with nested dictionaty

Post by golibali » Monday 08 October 2018 14:10

Hi all,

Is there a way to store nested dictionary in the Devices Options field? Or it should store it? Becaus I tested, and the plugin crashed.

Code: Select all

Devices[1].Update(int(0), "Off",Options={'something':{'foo':'bar'}})
Could someone help me, what did I do wrong? Is there any other way to store not build in type data for devices?

Post Reply

Who is online

Users browsing this forum: moroen, quirk and 3 guests