async def async_get_total_packets_sent(self) -> Optional[int]:
    'Get total packets sent.'
    return self.traffic_data[PACKETS_SENT]
Get total packets sent.
async def async_get_total_packets_sent(self) -> Optional[int]:
    
    return self.traffic_data[PACKETS_SENT]