Momentary switch/ logbook

I have imported from vera an on/off switch to open and close the garage door. on vera’s gateway, I have a 2 second auto-off on the switch to simulate the momentary switch. everything works fine in the home Assistant, but as I always use it, it turns it on and then off, I have two entries in the logbook. does anyone know how i can change this?

You can exclude it from the logbook.

when I delete the entity, I don’t have the “on” information. I don’t want the “off” information.
Ths :wink:

It’s both or none.

it’s a shame… even the motion detection information, for the logbook, was enough when the movement is detected… it was cleaner…