If you get item state with items[loop.item.name].state
then your items with refresh. loop.item.state
is just getting the state that was returned by the repeater’s api call and that’s not changing because the api is not being called again (how would the widget know when to make another api call?). The items object, on the other hand, maintains the up to date item state.
5 Likes