Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Widget expressions: (Partly) Fix handling of Item name being `undefin…
…ed` (openhab#2301) When using the `@` and `@@` shortcuts for Item displayState and state in widget expressions, properly handle cases where the Item name is `undefined`. Unfortunately I did not find a way to improve that for `items[itemName]` expressions. Requesting the Item state from the server when the Item name is undefined leads to warnings in the log (which might cause some confusion for the users): ``` [WARN ] [se.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined ``` --------- Signed-off-by: Florian Hotze <[email protected]>
- Loading branch information