-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customTags.yaml not loading after reboot #4196
Comments
What is your version of OH? |
I’m using OH 4.2.0M2 there is no log message, the tags are not loaded. In the main UI, lots of items are out of their groups because the equipment tags are missing, and when I inspect individual items, they do not show the tags. Thanks |
I may have seen this too. I was doing something else and noticed one of my locations didn't show up in the Model view. I edited the yaml file and it immediately loaded but never managed to circle back. I've rebooted since then and can confirm that there is no log message during startup showing the file is being loaded. I can confirm that my custom tags are not shown in the response from /rest/tags and Items using custom tags do not appear to be in the model in neither the Model page nor in the Overview page tabs. The tags are on the Items but not shown as semantic tags. "Den" is one of my custom tags defined in "myTaghs.yaml".
But the Item tagged appears as follows: When I add a whitespace to the file and save it:
And the Item appears as expected in the model. I'm also on 4.2 M2 |
There was PR #4024 that changed things in 4.2 after my initial contribution in 4.1. Maybe this PR broke something? |
I can't remember. But I think I found a bug during initail loading |
Expected Behavior
I have created some custom tags. When I reboot, they should all remain.
Current Behavior
When I reboot, my customTags.yaml file is not loaded, and every item that had a custom tag goes haywire in my model view.
If I open and resave the file, it works as expected.
Possible Solution
Steps to Reproduce (for Bugs)
1- Create a custom tag
2- Reboot openhab
The text was updated successfully, but these errors were encountered: