First time programmer but have an idea

So this will be the project where i learn to program. I figure the best way to get started is to have a goal. I already have home assistant up and running on a vm and I plan on using matrix creator sensors to get temp data of the room to home assistant using mqtt. this way send commands to thermostat relay. Any holes in this plan?