home alarm system problem in code

You're going to have to start posting your code correctly.
Use the # icon on the editors toolbar.
You can (and should) go back and edit your posts.
Highlight the code, then click on the # icon.