The ANA Dreamliner B787 we flew on from BKK to Haneda was pretty badass; the crew can dim all the windows at the touch of a button. You can also set them individually with the button shown below. There’s a row of LEDs (to the left of the button) that aren’t really lit in the photo that show the dimness level.