A homeowner in Florida has been charged with installing retractible awnings to protect his home from the elements.

The homeowner was arrested last week and was being held on $1 million bail, Miami-Dade County prosecutors said.

An electrical engineer named James S. Lee, 34, was charged with two counts of misdemeanor battery for allegedly using the awners to keep out cold air and heat during the winter.

A Miami-based contractor called the company’s website and obtained an agreement with Lee, who is also an electrical engineer, to repair the ailerons, prosecutors said in court papers.

Lee also agreed to repair other items that were defective and replace them, prosecutors added.

Miami-DirecTV-6 reported that the homeowner was found by the contractor’s workers.

Lee was charged in Miami-area court on Thursday with one count of misdemeanor criminal damage to property.

“The homeowners negligence in the conduct of his business caused injury to his home and property, and it is alleged that he has been negligent in the repairs and maintenance of the property,” prosecutors wrote in court documents.