My memories are, unfortunately, not enough to find the movie.
A wealthy couple lives in a smart home with a garden. Their little girl is cute and sweet (aged perhaps 6 or 8?).
A homeless man, perhaps he is an army vet with behavioural issues, struggling to find shelter, hides in some bushes near their home.
The couple argue about some tasks around the garden (or shed?) not having been done. The homeless man overhears them and, when they are out, sets about doing that work. For a while the couple is content, each mistakenly believing that the other has finally done the gardening.
The little girl figures out that neither of her parents has done the gardening, and somehow (how?) deduces that the homeless man (whom she befriends, how?, and supplies with food, how? while he remains in hiding?) must be the good person in this tale.
As far as I recall, the wealthy family is white and the homeless man is black, though I'm not sure of this, either.
Something goes wrong (a burglary? and accident?) The homeless man is found by the police and almost charged with a crime. But the little girl sorts it all out by explaining to everyone what she has been observing.
The homeless man has regained his dignity and the wealthy family make sure he gets a chance at a job, integration, etc.