AC/AC 24V transformer

My Rachio controller was offline since late September. I unplugged the transformer and rebooted the controller. It’s back online. I noticed the transformer was hot to touch…& the outlet appeared discolored. See pics. Is this normal or is this a potential fire hazard? And is there any correlation between the until going/being offline & the transformer heat?

Transformers generally run warm to very warm, but hot is a bad sign. no bueno