Hi Simon,
A new version of the plugin is available as pre-release on Github:
Fix Humidity as primary Device additional stateAs I suspected, there was a bit of missing code that I should have included when I did the deprecated humidity change.
When you edit the device to flip humidity back from a secondary device to an additional state on the primary device, you will get an orphan secondary device that you have to delete manually.
If you edit this orphaned device, you will get a dialogue something like this:
- Hubitat orphaned secondary device
- hubitat_orphaned_secondary_device.png (264.31 KiB) Viewed 3141 times
You will see that the device name is appended with e.g.
[UNGROUPED @2021-09-13 13:09:53]Looking at it now, the displayed text, when you try to edit its device settings tells you to delete the device. The message should maybe say "You are not allowed to directly create
or edit this secondary device ...". I will put that on the todo list.
I have tested it and it seems to work. Let me know if it is OK for you.