read dimmer brightness as float, not u8