Hello,
Here is a screenshot of an RM GUI
When I try to clone it. or export to JSON and re-import..
I get this
As can be seen in the 2nd screenshot, there are 16 devices, out of which only 2 should be showing up.. the pushover device and the mZone-MSZone Basement 2..
All the rest of the devices are ghost devices!.. Seems like a bug in the Export/Import/Clone App
Any thoughts/ideas ?
More likely just "artifacts" of these devices in your rules. If you had an action that references one of these devices and deleted the action without un-selecting the device first, this could happen (it used to be far more common; recent updates have addressed this issue in many cases, and I'm actually not sure I've seen it myself since then). Sometimes it could also be in conditions you've created but aren't actually using (or I suppose it could be similar to the above if they were deleted), but I see you don't have any in that rule.
If you can figure out where you once had those devices selected and how you removed whatever they were selected with from the UI, this issue might be able to be fixed on the rule side. But it's likely not anything to do with the Import/Export/Clone utility, which isn't shouldn't be doing anything more here than reading what devices the app (rule in this case) is referencing internally. You'd see the same references if you looked at the App Status page for the rule or the "In use by" section on the device detail page for the devices.
So how do I resolve it on the Rule Side, and get rid of these artifacts ?
With four actions, I'd say the easiest option is just to re-create the rule if this issue bothers you. But there isn't really a "problem" per se--this is ultimately just a display issue, resulting from the app still having an internal reference to a device that is no longer really being used or visible in the UI.
yeah.. I agree, so isnt that a bug, where a reference is not removed when un-selecting a device..
but for the short term.. thankfully my rule is not a huge one.. otherwise.. it would be a pita !