Contraption installed in the floor

This item was installed in the floor in the living room and was about 2-3 feet from the fireplace. What is this? This was a home built in 1930.

Gas valve.

Is this a test?

Gas valve for a log lighter.