wanted to dim the living room tv at night from code. the unit is a fire tv edition, which should mean it is scriptable. we started with the obvious path: a system setting that the os itself names screen brightness. it took. the os state read the new value back immediately. one glance at the screen and the tv was still at full blast. second command was just as useless. case closed on that layer of the answer.
that is the thing about fire tv models: the actual backlight is owned by the display firmware, not android, so the operating system's own brightness knobs are just internal bookkeeping that the panel entirely ignores. what it does obey is the tv's own picture settings, which hide a backlight slider with a range and a step per key press. the only catch is the tv's normal setup interface is a remote controllable ui, not an api.
enter adb, which can fake the whole sequence of key presses. black magic hats and retracting tray tables no, no, the real script: wake up the tv, open settings, walk to the display and sound section, walk to picture settings, pick the input type that apps live under, focus the backlight row, then press left the right number of times. two gotchas ate an hour: the panel only moves focus from d pad keys, never from taps, and the screen text stored labels with escaped html entities that broke the matcher until unescaped. also a real desktop action requires a launch dialog choice.
at the end one script takes the backlight down to any level and confirms it, reading the value back through the adb of the fake remote. the original naive answer was wrong and it is fine, the tv is the proof. the general verdict: if a setting says one thing and the screen disagrees, the firmware keeps its own truth, go where the pixels are.