semanticHomeMenu for openHAB 4 - Discussions

I keep seeing this in the logs:

2025-05-27 20:25:27.818 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.818 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.851 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.852 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.872 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.873 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.888 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.888 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.905 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.906 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.926 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.927 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.947 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.948 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.968 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.969 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.988 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.989 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color
2025-05-27 20:25:27.993 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_colorTemperature
2025-05-27 20:25:27.994 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Ledlampjes_keuken_color

I’ve ignored it for months, but now I’m going through logs looking for a specific error, saw this problem, and was distracted. So I did a search, and found this: Attempting to send a state update of an item which doesn't exist - #8 by mpampinos.

I then went through widget, and I suspect the guilty party is the semanticHomeMenu_Lights widget, on lines 183 through 206:

              default:
                - component: Label
                  config:
                    style:
                      display: "=props.equipmentType === 'ColorLight' ? '' : 'none !important'"
                      font-size: 13px
                      font-weight: var(--f7-list-item-footer-font-weight)
                      line-height: 0.5
                      margin-left: 1rem
                    text: Ambiance
                    visible: "=props.equipmentType === 'ColorLight' ? 'true' : 'false'"
                - component: oh-slider
                  config:
                    item: "=props.equipmentType != 'ColorLight' ? '' : props.groupItem +
                      '_colorTemperature'"
                    max: 100
                    min: 0
                    style:
                      --f7-range-bar-size: var(--f7-color-picker-slider-size)
                      margin-left: 10px
                      margin-right: 10px
                      margin-top: 15px
                      width: calc(100% - 1rem)
                    visible: "=props.equipmentType === 'ColorLight' ? 'true' : 'false'"

I thought I’d quicly make the item and be done with it. But I can’t, since my thing shelly:shellyrgbw2-white:xxxxxxx doesn’t have “color” channels.

But I don’t fully understand why the widget would want to send commands to this non-existing item? (Cross-checking with the Shelly binding logs, I did turn the light on (or off) right before these log entries, so the timing makes sense.)