I have an ESPHome sensor set exactly as the docs show in the picture at the bottom of this post but my icon does not represent the battery level.
I have tried
but because ESPHome adds an icon attribute it overrides the
Any ideas anyone on how to rectify this or is it some kind of error in ESPHome?
ESPHome docs implying that it should work