Just checked Maine law.
There’s a huge loophole involving intent that could mean whoever left that dog in that vehicle is off the hook.
WTG, Maine.
From 2018...
https://wgme.com/news/local/officials-remind-mainers-to-not-leave-children-animals-in-hot-cars
“...In the state of Maine, there are no exact laws against leaving a child in a hot car, but doing so can result in child endangerment and reckless conduct charges...”
Dogs. Kids.
Whatever.