No expected event in logbook [Solved]

Sorry for this silly question, but I can’t see any notification in logbook.
I set this in configuration.yaml:

logbook:
  include:
    domains:
      - sensor
      - switch
      - light
      - media_player      

When I change the state of a light or switch there are no events in the logbook.
If I use the logbook.log service I see the message/event in logbook.

What’s wrong?

… it was a very silly question …
I’ve solved: in recorder configuration I’ve an include statement without light or switch domain, so they were excluded by definition.

Also I think you can remove sensor from this. The logbook only logs binary_sensors. Sensors change value too much and flood the logbook.