iPhone showing not charging

I have ios: in my configuration.yaml file however even though it shows the iPhone has checked in 5 minutes ago, it says it’s unplugged and the battery level the same as it was 8 hours ago. It is plugged in and charging though. Any idea?

Thanks.

JR

Have the same problem, my IOS phone Xs is charging… but HA says its not.