Ping sensor - IP address as attribute

The ping binary sensor has within it the IP address/hostname used to define it, but this is not exposed within the attributes.
It would be useful to display the IP address along with the connectivity, therefore simply adding this as an attribute would be very useful.