Hello folks!
I have created a threshold sensor and it works fine so far. The sensor has an entity and I can also see the state in the developer tools. However, I can’t add the entity to Lovelace. It just doesn’t show up in the list.
I have created several sensors one after the other. The first four worked. But now I can’t get it to work. Do you have any tips for me?
Many thanks and best regards
Christian
The 5th starts with “o”, then why a screenshot from Dev tools contains an entity starting with “e”?
Can you see your entity in Settings - Entities?
If yes - select this entity and open a more-info window. Check if the entity is not hidden.
The first screenshot shows all created Helper Entities beginning with luften.
binary_sensor.luften_esszimmer is available.
The second screenshot shows the entity binary_sensor.luften_esszimmer in Dev Tools. It looks good.
The third screenshot shows all available Helper entities beginning with luften.
You can see, that the entity binary_sensor.luften_esszimmer is not available for Lovelace.
After I replied, I realized that the entity suddenly does work. It seems to take some time for the entity to become usable.
All variables are cached in the browser. If you see such problem again try Control-F5 in your browser. That reloads the page and reload all cached files.
Thanks Kenneth. That seems to have been the problem.
Seems to happen with many sensor, binary_sensor entities created in UI.
And I do not think that this is about a browser cache. It is about using some time for internal processing of entities created in UI.