Today in 1954, US Patent 1149256 A was issued, an invention of Joseph H. Godfrey, for his “Bottle-Filling Device.” There’s no Abstract, although in the description it includes this summary:
This invention relates to devices for filling bottles and similar receptacles with liquid, and has reference more particularly to that type of filling mechanism wherein a valve controlling the flow of liquid to the bottle is opened through the agency of an electromagnet when the empty bottle has been suitably positioned relatively to the filling device to receive the liquid, and is subsequently closed by the automatic de-energizing of the magnet to cut off the flow of liquid to the bottle when the latter has been filled to the proper or desired height.