Floor heating control is demanding due to the thermal lag caused by massive structures of the floor. A new floor heating control (Fig. 1) was demonstrated by using Mealy machine approach (Fig. 2) in modelling the thermal behavior of the heating system and the indoor environment. Test runs show that the state machine control damps down disturbances of indoor temperature more effectively than the conventional method.