I don’t think that it is!
If you want to avoid posting sensitive information such as auth tokens and WiFi passwords then rather than leaving those lines of code out of your sketch entirely you should replace the sensitive information with something else, preferably the word “REDACTED”.
My guess is that you didn’t originally have the “send event to Timeline” option enabled, so the previous events that you’ve logged aren’t visible in the timeline, but still exist and count towards your 24 hour rolling limit.
The other possibility is that the events were logged yesterday (in which case they don’t appear in the “today” filter) but are still within the last 24 hours.
If you want to know more about how Events and Notifications work, and how you can ensure that you don’t accidentally exceed the limits by sending multiple notifications for one intruder detection the you should read this…
Pete.