I think that's actually not something that would be wise to hook up to an automation platform. A car running in the garage can kill, and 'a human chose to press this button' is an important interlock. After all, you have to swipe your way in to the official app, and to use a key fob you need to hold the button for several seconds.
'How dare Mazda permit this' is a real lawsuit that will happen. Automakers also got sued because pushbutton start is confusing and people would leave the car running after use. There is an active lawsuit right now about push-button gear selectors making it too hard to put the vehicle in park, allowing unexpected rollaways.
> I have somehow automated some lights to come on too early in the morning but the specific task/automation I set to do this is nowhere to be found.. I can create and remove new tasks but I'm being haunted by this old task.
Do you have an attached garage? How about if it gets turned on with the door closed at 4am after a daylight savings changeover gone horribly wrong. I enjoy my home assistant but I wouldn't let it control something that can gas me. I've seen way too much weird shit in my iot network to ever trust it with that.
Old cars gassed people with carbon monoxide. Odorless and deadly.
Modern cars make basically none of that. Instead, you'll die of too much CO2.
Luckily, humans are pretty good at detecting gradually increasing levels of CO2 - it's what happens when 5 people are in a car together and someone says "it's getting stuffy in here, turn the vent on!".
Sudden CO2 increases can still kill. But gradual ones like a car gradually producing more and more CO2 likely wouldn't. Even in your sleep, you will wake up and find the air stuffy (it can happen when lots of cave people are all sleeping in a badly ventilated cave, so we evolved to handle it).
However, you shouldn't rely on the above for the safety of people - all it takes is someone to be drunk or taking sleeping pills, and they might not be able to act on their senses... Also, cars where the emissions system has been tampered with or faulty can still produce a lot of deadly carbon monoxide.