On two occasions he went inside the house and super-glued the key locks, snapping keys into the locks, causing $150 damage.
Mr Elliott said Birchall was struggling with mental illness and had found it difficult since his relationship with the victim had broken down.
Birchall had confessed to police, he said.
"His conscience got the better of him ... he is extraordinarily remorseful for his offending."
Judge Morris said his ex-partner was frightened by his actions, afraid to go home and afraid to go out. "There was some malice involved."
It was also lucky no one was in the house at the time of the arson, but he had placed people at risk, she said.
"There is always a risk of fire getting out of control. Firefighters can be hurt as well."
Using a starting point of 29 months' imprisonment, Judge Morris gave Birchall discounts for his early guilty plea and his extreme remorse.
She sentenced him to nine months' jail and granted leave for him to apply for home detention if a suitable address was found.
"No doubt all this offending has had a significant impact on you ... not all is lost ... You have done all you can to make good [from] this offending," she said.