Landlord and Security Deposit?

I recently got my final invoice for my security deposit. My landlord deducted $200 from my deposit for "time at $25.00 per hour" for inspection, 4 hours of open house, and administrative duties. Is that legal?? Michigan
Update: We did leave before the lease was up but we paid for a whole month and left before the month was us. They had it rented to others a week after we moved out. (Which we paid for that whole month)
14 answers 14