is this for light bulbs other than headlights? Try removing & cleaning contacts on your side & tail lights ... on other cars, replacing bulbs with decent brand bulbs has kept the bulb monitoring happy.
It’s rare, but I’ve seen this type of fault twice before. Both times it required replacement of the fuse board in the end of the drivers side of the dash. If memory serves it comes complete with the light switch. The bulb failure unit is incorporated.
It would be worth pulling both rear lamps first and checking for burned bulb holders though. That is much more common