Hi,
Within a custom plugin, is it possible to add (or remove) device state(s) dynamically? I’ve search across the board without success! States are created in the Device.xml but the definition (not the content) are static (name and qty). I’ve created a plugin pulling events from the iCloud Calendar. In the device, I’ve states (e.g. Event01, Event02, …) sorted by date. According to the device configuration, I want to adjust the number of states according to the user preferences. Is it possible or I stick with a predefined number of events? Maybe my strategy is not correct…
Joël