I think I remember seeing something about this but can’t find it …
I just had a event that missed processing the data … looking at the log it is seems that the event data wasn’t actually updated before the event started processing … not sure if that makes sense … here is a code snippet:
@rule("Parse Ohm Hour Event", description="Handles parsing OhmTime email data") @when("Item OhmHour received command") @when("Item TestSwitch changed to ON") def parseOhmTimeEvent(event): eventTime = str(items[event.itemName]) parseOhmTimeEvent.log.info("eventTime= " + eventTime)
Is it possible that the event is generated before the String OhmHour is actually updated? My log shows that the old value of
items[event.itemName] is accessed.