I have about 40+ Lutron Dimmers/Switches, which have worked flawlessly so far. Over the holidays I moved some of those around (a few in walls and other plug-ins), to repurpose them and that is where I started seeing some issues:
Removing a line(row) from Lutron App doesn't seem to remove the device (whereas to add a device, you just have to add a line for the new device). Is that expected? If so, how does one remove a device?
Renaming devices (in the Device detail section) has been tricky. Rename(d) device doesn't change its name in all rules, integrations. I have had to manually go to change, deselect & then select the new name or remove it if the device no longer needs to be in that rule because of it's new use. Is this expected, which would be odd because I would assume that name is just a label & not a key!
The main issue is with the rules - even if I went in and cleaned up all the rules of the old name or removed the device from the rule, those rules still show up in the 'In Use' section on the device details page and seem to be firing, thus acting as ghost rules. Shouldn't those would have gotten updated on their own. How do I remove them for good?
Did you do the Lutron exclude on the device when you removed it? There are three steps: remove the device from all rules and automations, do the Lutron exclude from the Lutron hub, then remove the line from the integration. I usually do the Lutron exclude first before removing the line in the Lutron integration, generate another integration email report in the Lutron app, then compare with the listing in the Hubitat integration to make sure the device is gone from the Lutron hub, then remove the line in the integration.
I haven’t excluded Lutron devices in a while, but, as I recall, the Lutron app walks you through the process when you delete the device. Some odd combination of pressing buttons on dimmers or switches, as I recall.
I am not removing the device from my household but from HE. Majority of changes that I did (or want to do) is to move the switches & dimmers around to use it for another purpose - for example, instead of using using it with a table lamp, use it with a ceiling light. If my goal was change assignments of the devices in the HE rules, are you saying that I have to remove it completely (from Lutron Hub) and then re-add it from the scratch?
Sorry, that wasn’t clear to me from your post. No, you do not have to remove it from the Lutron hub.
Given that’s what you want to do, here is what I would suggest:
Change the name in the Lutron app, and any Lutron locations. That gets things changed for Alexa, if you are integrating with Alexa through the Lutron hub, as I am. No need to Lutron exclude, etc., because you are going to continue to use the device somewhere. If you want, you could generate another Lutron integration report in the Lutron app, simply to check that the Lutron hub will pass the new name on to Alexa. Hubitat operates on the Lutron device number, which is not changing because you are leaving the device on the Lutron hub.
Then, change the name in the Hubitat Lutron integration. No need to remove the line from the integration list, just change name. That will change the device name and name used in any Hubitat rules.
Then, if you aren’t going to keep the newly-named device in your existing Hubitat rules and automations, remove or change as you desire. You will see the list of those rules and automations at the bottom of Hubitat’s device page for that device in the “in use by” section.
Sorry that I misunderstood what you were trying to do.
The steps you mention is what I did. But name change didn't get reflected in the rules, when I remove the device from the rule, it doesn't remove it from the 'In use' by section of that device. In other words that rule no longer is using that device, so I would expect that rule not to be correlated with that device in any which way, including that rule not able to act that device.
Assuming your are redeploying the same device elsewhere, you would just leave it in your Lutron Integration, perhaps with a different device label. If you remove the Hubitat device, the Lutron Integration will recreate it, but it will have the same Device Network ID, because it has the same integration ID in the Lutron system. So removing it from the Lutron Integration is pretty much pointless.
You would need to manually update your various rules to use or not use whatever device they should use.
I did update all rules (eventually and before I opened this post) but the issue is that those are still firing. Below is one example - The rules in yellow here are the old rules that used this switch, but I cleaned those rules up. But it still shows up in device 'in use by' and fires for few of them. The rule in the green one is new, and it is NOT getting triggered by that rule. So essentially, it looks like that it is stuck to past and not referencing anything latest setup for it.
Did you remove the device in question from the yellow rule? I don't have enough context to know what is what in this.
When you say "fires for a few of them", just what do you mean? Was the removed device part of a trigger?
Worst case, remove the yellow rule and recreate it. As I mentioned before, the new device appears to Hubitat pretty much the same as the old device, because it has the same integration id in Lutron. The integration id is the means by which a Lutron device is identified in the Hubitat system. So when you moved them around, things are pretty likely to become confused. It only takes a minute to recreate a rule, and you've spent more time than that trying to sort this out. Just remove and redo all of the yellow rules, and the problem will go away.
Yes, I did. The reason I shared the screenshot was that the device named 'Master Bedroom Bed Light' is not that in rule, but when you correlate that with the device itself, you will still see that rule listed in the devices 'in use by'.
A question on recreating these rules - will duplicating the rule carry those ghost references or if I am better off starting from scratch.