I was scratching my head over this one, too. In fairness, she had already served twenty months while awaiting trial, which, while minimal given the crime, is at least some time in prison. I don't think the case would have received this much attention if headlines didn't create the impression that she was getting off with no jail time, which isn't accurate.
I still tend to think this was an absurdly light sentence. It sounds possible that she would have had some grounds for a mental illness defense. If she had gotten a jury to buy that she wasn't in control of her actions on that basis, fine. But she ultimately put in a guilty plea. That doesn't mean mitigating factors can't be considered, but being sentenced to 20 months of time served for attempted murder of a toddler plus other crimes would require a hell of a lot of mitigation. This woman is incredibly lucky that no one died. Either she was so mentally ill that she didn't understand what she was doing, or she should have to pay a higher price than this.