The police were 100% justified in killing him because he escalated to the point of trying to kill people that weren't trying to kill him first.
Everything leading up to that point though, was a cluster. IF code enforcement people said 'okay, we'll come back another time' and sent someone by to talk to him - or even had the PD do it, or request the local Constables do it, or had the PD escort one of those mental health people you hear the lefties talk about a lot - maybe just maybe he wouldn't have shot at people and tried to Waco himself.
Definitely some Karens involved, because the news said code enforcement came out because of complaints by the neighbors. You know what they didn't say? That they neighbors got together to help him cut the damn grass. Maybe instead of dropping a dime to the city - the concerned neighbors could've come to him with their concerns and offered help.
Maybe they did - he rebuffed them because he's a nutter - we don't know at this point.
Its a shame the dude died, because it seems a case of being very preventable if the situation leading to the shooting had been handled differently, but ultimately he made the decision to kill someone (thankfully he was unsuccessful) over defending his property.
This and @Younggun 's take are about right IMO.
It's not a reasonable amount of force to shoot at people on your property that pose no threat to you. Yes, they should not be there and that is a whole issue that needs to be addressed.
Once bullets started flying, the man's right to be left alone was given up. Hard to find fault with APD proper here.
All of that said, we really need to think as a society if we want to outsource code compliance to the government and HOAs.
A month or two ago, the house next to mine sold and the new neighbors hadn't moved in yet. The front lawn was left to grow and grow because the previous neighbors didn't care either. It was becoming an eye sore. Instead of just sitting around and bitching about it like some of my neighbors (to be fair I did that too), I just went and cut their front lawn one day after I did mine.